i965/fs: Move ip_record class to its one use.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
Matt Turner 2014-11-12 11:01:16 -08:00
parent d9432af45a
commit 279c1c80b6
2 changed files with 12 additions and 12 deletions

View 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 &);

View 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()
{