8278141: LIR_OpLoadKlass::_info shadows the field of the same name from LIR_Op
Reviewed-by: thartmann, rkennke
This commit is contained in:
parent
53a4342783
commit
0e7b6bcd82
@ -1828,15 +1828,13 @@ class LIR_OpLoadKlass: public LIR_Op {
|
||||
|
||||
private:
|
||||
LIR_Opr _obj;
|
||||
CodeEmitInfo* _info;
|
||||
public:
|
||||
LIR_OpLoadKlass(LIR_Opr obj, LIR_Opr result, CodeEmitInfo* info)
|
||||
: LIR_Op(lir_load_klass, result, NULL)
|
||||
: LIR_Op(lir_load_klass, result, info)
|
||||
, _obj(obj)
|
||||
, _info(info) {}
|
||||
{}
|
||||
|
||||
LIR_Opr obj() const { return _obj; }
|
||||
CodeEmitInfo* info() const { return _info; }
|
||||
|
||||
virtual LIR_OpLoadKlass* as_OpLoadKlass() { return this; }
|
||||
virtual void emit_code(LIR_Assembler* masm);
|
||||
|
Loading…
Reference in New Issue
Block a user