8278141: LIR_OpLoadKlass::_info shadows the field of the same name from LIR_Op

Reviewed-by: thartmann, rkennke
This commit is contained in:
Aleksey Shipilev 2021-12-03 15:43:51 +00:00
parent 53a4342783
commit 0e7b6bcd82

View File

@ -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);