1.1 --- a/src/share/vm/c1/c1_LIR.cpp Fri May 23 14:46:59 2014 -0700 1.2 +++ b/src/share/vm/c1/c1_LIR.cpp Wed May 21 11:25:25 2014 +0200 1.3 @@ -1083,7 +1083,7 @@ 1.4 1.5 void LIR_OpArrayCopy::emit_code(LIR_Assembler* masm) { 1.6 masm->emit_arraycopy(this); 1.7 - masm->emit_code_stub(stub()); 1.8 + masm->append_code_stub(stub()); 1.9 } 1.10 1.11 void LIR_OpUpdateCRC32::emit_code(LIR_Assembler* masm) { 1.12 @@ -1100,20 +1100,20 @@ 1.13 1.14 void LIR_OpAllocObj::emit_code(LIR_Assembler* masm) { 1.15 masm->emit_alloc_obj(this); 1.16 - masm->emit_code_stub(stub()); 1.17 + masm->append_code_stub(stub()); 1.18 } 1.19 1.20 void LIR_OpBranch::emit_code(LIR_Assembler* masm) { 1.21 masm->emit_opBranch(this); 1.22 if (stub()) { 1.23 - masm->emit_code_stub(stub()); 1.24 + masm->append_code_stub(stub()); 1.25 } 1.26 } 1.27 1.28 void LIR_OpConvert::emit_code(LIR_Assembler* masm) { 1.29 masm->emit_opConvert(this); 1.30 if (stub() != NULL) { 1.31 - masm->emit_code_stub(stub()); 1.32 + masm->append_code_stub(stub()); 1.33 } 1.34 } 1.35 1.36 @@ -1123,13 +1123,13 @@ 1.37 1.38 void LIR_OpAllocArray::emit_code(LIR_Assembler* masm) { 1.39 masm->emit_alloc_array(this); 1.40 - masm->emit_code_stub(stub()); 1.41 + masm->append_code_stub(stub()); 1.42 } 1.43 1.44 void LIR_OpTypeCheck::emit_code(LIR_Assembler* masm) { 1.45 masm->emit_opTypeCheck(this); 1.46 if (stub()) { 1.47 - masm->emit_code_stub(stub()); 1.48 + masm->append_code_stub(stub()); 1.49 } 1.50 } 1.51 1.52 @@ -1144,7 +1144,7 @@ 1.53 void LIR_OpLock::emit_code(LIR_Assembler* masm) { 1.54 masm->emit_lock(this); 1.55 if (stub()) { 1.56 - masm->emit_code_stub(stub()); 1.57 + masm->append_code_stub(stub()); 1.58 } 1.59 } 1.60