From 279c1c80b678df188104b22e2076e4efe60e3193 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 12 Nov 2014 11:01:16 -0800 Subject: [PATCH] i965/fs: Move ip_record class to its one use. Reviewed-by: Anuj Phogat --- src/mesa/drivers/dri/i965/brw_fs.h | 12 ------------ src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) 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() { -- 2.30.2