From: Matt Turner Date: Wed, 12 Nov 2014 19:01:16 +0000 (-0800) Subject: i965/fs: Move ip_record class to its one use. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=279c1c80b678df188104b22e2076e4efe60e3193;p=mesa.git i965/fs: Move ip_record class to its one use. Reviewed-by: Anuj Phogat --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index a675b2ef6e1..f778c26939f 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -210,18 +210,6 @@ half(fs_reg reg, unsigned idx) static const fs_reg reg_undef; -class ip_record : public exec_node { -public: - DECLARE_RALLOC_CXX_OPERATORS(ip_record) - - ip_record(int ip) - { - this->ip = ip; - } - - int ip; -}; - class fs_inst : public backend_instruction { fs_inst &operator=(const fs_inst &); diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp index 3b9bfe48df3..ab5d22317ed 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp @@ -60,6 +60,18 @@ fs_generator::~fs_generator() { } +class ip_record : public exec_node { +public: + DECLARE_RALLOC_CXX_OPERATORS(ip_record) + + ip_record(int ip) + { + this->ip = ip; + } + + int ip; +}; + bool fs_generator::patch_discard_jumps_to_fb_writes() {