comparison src/cpu/x86/vm/c1_LIRAssembler_x86.cpp @ 12160:f98f5d48f511

7199175: JSR 292: C1 needs patching when invokedynamic/invokehandle call site is not linked Summary: Do patching rather bailing out for unlinked call with appendix Reviewed-by: twisti, kvn
author roland
date Wed, 21 Aug 2013 13:34:45 +0200
parents b800986664f4
children 7944aba7ba41 2795dff62b6c
comparison
equal deleted inserted replaced
12159:b17d8f6d9ed7 12160:f98f5d48f511
360 } 360 }
361 361
362 362
363 void LIR_Assembler::jobject2reg_with_patching(Register reg, CodeEmitInfo* info) { 363 void LIR_Assembler::jobject2reg_with_patching(Register reg, CodeEmitInfo* info) {
364 jobject o = NULL; 364 jobject o = NULL;
365 PatchingStub* patch = new PatchingStub(_masm, PatchingStub::load_mirror_id); 365 PatchingStub* patch = new PatchingStub(_masm, patching_id(info));
366 __ movoop(reg, o); 366 __ movoop(reg, o);
367 patching_epilog(patch, lir_patch_normal, reg, info); 367 patching_epilog(patch, lir_patch_normal, reg, info);
368 } 368 }
369 369
370 void LIR_Assembler::klass2reg_with_patching(Register reg, CodeEmitInfo* info) { 370 void LIR_Assembler::klass2reg_with_patching(Register reg, CodeEmitInfo* info) {