< prev index next >

src/share/vm/opto/compile.cpp

Print this page
rev 9067 : 8139040: Fix initializations before ShouldNotReachHere()

*** 3753,3763 **** void Compile::ConstantTable::emit(CodeBuffer& cb) { MacroAssembler _masm(&cb); for (int i = 0; i < _constants.length(); i++) { Constant con = _constants.at(i); ! address constant_addr; switch (con.type()) { case T_LONG: constant_addr = _masm.long_constant( con.get_jlong() ); break; case T_FLOAT: constant_addr = _masm.float_constant( con.get_jfloat() ); break; case T_DOUBLE: constant_addr = _masm.double_constant(con.get_jdouble()); break; case T_OBJECT: { --- 3753,3763 ---- void Compile::ConstantTable::emit(CodeBuffer& cb) { MacroAssembler _masm(&cb); for (int i = 0; i < _constants.length(); i++) { Constant con = _constants.at(i); ! address constant_addr = NULL; switch (con.type()) { case T_LONG: constant_addr = _masm.long_constant( con.get_jlong() ); break; case T_FLOAT: constant_addr = _masm.float_constant( con.get_jfloat() ); break; case T_DOUBLE: constant_addr = _masm.double_constant(con.get_jdouble()); break; case T_OBJECT: {
< prev index next >