Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/c1_CodeStubs_x86.cpp @ 4048:cec1757a0134
7102657: JSR 292: C1 deoptimizes unlinked invokedynamic call sites infinitely
Reviewed-by: never, bdelsart
author | twisti |
---|---|
date | Thu, 27 Oct 2011 04:43:37 -0700 |
parents | 527b586edf24 |
children | 069ab3f976d3 |
comparison
equal
deleted
inserted
replaced
4047:d8cb48376797 | 4048:cec1757a0134 |
---|---|
385 } | 385 } |
386 | 386 |
387 | 387 |
388 void DeoptimizeStub::emit_code(LIR_Assembler* ce) { | 388 void DeoptimizeStub::emit_code(LIR_Assembler* ce) { |
389 __ bind(_entry); | 389 __ bind(_entry); |
390 __ call(RuntimeAddress(SharedRuntime::deopt_blob()->unpack_with_reexecution())); | 390 __ call(RuntimeAddress(Runtime1::entry_for(Runtime1::deoptimize_id))); |
391 ce->add_call_info_here(_info); | 391 ce->add_call_info_here(_info); |
392 debug_only(__ should_not_reach_here()); | 392 DEBUG_ONLY(__ should_not_reach_here()); |
393 } | 393 } |
394 | 394 |
395 | 395 |
396 void ImplicitNullCheckStub::emit_code(LIR_Assembler* ce) { | 396 void ImplicitNullCheckStub::emit_code(LIR_Assembler* ce) { |
397 ce->compilation()->implicit_exception_table()->append(_offset, __ offset()); | 397 ce->compilation()->implicit_exception_table()->append(_offset, __ offset()); |