8210320: PPC64: Fix uninitialized variable in C1 LIR assembler code

Reviewed-by: mbaesken, shade, mdoerr
This commit is contained in:
Gustavo Romero 2018-09-04 11:46:23 -04:00
parent aee7d4f600
commit e8b551eac9

View File

@ -2396,8 +2396,8 @@ void LIR_Assembler::emit_typecheck_helper(LIR_OpTypeCheck *op, Label* success, L
if (reg_conflict) { obj = dst; }
}
ciMethodData* md;
ciProfileData* data;
ciMethodData* md = NULL;
ciProfileData* data = NULL;
int mdo_offset_bias = 0;
if (should_profile) {
ciMethod* method = op->profiled_method();
@ -2514,8 +2514,8 @@ void LIR_Assembler::emit_opTypeCheck(LIR_OpTypeCheck* op) {
__ verify_oop(value);
CodeStub* stub = op->stub();
// Check if it needs to be profiled.
ciMethodData* md;
ciProfileData* data;
ciMethodData* md = NULL;
ciProfileData* data = NULL;
int mdo_offset_bias = 0;
if (should_profile) {
ciMethod* method = op->profiled_method();