i965/fs: Move ip_record class to its one use.
authorMatt Turner <mattst88@gmail.com>
Wed, 12 Nov 2014 19:01:16 +0000 (11:01 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 21 Nov 2014 18:26:44 +0000 (10:26 -0800)
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_generator.cpp

index a675b2ef6e121da3c152c76b8cdcc7a73706136e..f778c26939f066bfe6f6b4f6fcd435050c902e0c 100644 (file)
@@ -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 &);
 
index 3b9bfe48df321a2fe4fb8c62a461fcc4c6104cff..ab5d22317eda1330fd19282c281cccadccde1193 100644 (file)
@@ -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()
 {