equal
deleted
inserted
replaced
1094 _line = line; |
1094 _line = line; |
1095 } |
1095 } |
1096 #endif |
1096 #endif |
1097 |
1097 |
1098 virtual const char * name() const PRODUCT_RETURN0; |
1098 virtual const char * name() const PRODUCT_RETURN0; |
|
1099 virtual void visit(LIR_OpVisitState* state); |
1099 |
1100 |
1100 int id() const { return _id; } |
1101 int id() const { return _id; } |
1101 void set_id(int id) { _id = id; } |
1102 void set_id(int id) { _id = id; } |
1102 |
1103 |
1103 // FPU stack simulation helpers -- only used on Intel |
1104 // FPU stack simulation helpers -- only used on Intel |
1981 #ifdef ASSERT |
1982 #ifdef ASSERT |
1982 const char * _file; |
1983 const char * _file; |
1983 int _line; |
1984 int _line; |
1984 #endif |
1985 #endif |
1985 |
1986 |
|
1987 public: |
1986 void append(LIR_Op* op) { |
1988 void append(LIR_Op* op) { |
1987 if (op->source() == NULL) |
1989 if (op->source() == NULL) |
1988 op->set_source(_compilation->current_instruction()); |
1990 op->set_source(_compilation->current_instruction()); |
1989 #ifndef PRODUCT |
1991 #ifndef PRODUCT |
1990 if (PrintIRWithLIR) { |
1992 if (PrintIRWithLIR) { |
2001 _file = NULL; |
2003 _file = NULL; |
2002 _line = 0; |
2004 _line = 0; |
2003 #endif |
2005 #endif |
2004 } |
2006 } |
2005 |
2007 |
2006 public: |
|
2007 LIR_List(Compilation* compilation, BlockBegin* block = NULL); |
2008 LIR_List(Compilation* compilation, BlockBegin* block = NULL); |
2008 |
2009 |
2009 #ifdef ASSERT |
2010 #ifdef ASSERT |
2010 void set_file_and_line(const char * file, int line); |
2011 void set_file_and_line(const char * file, int line); |
2011 #endif |
2012 #endif |