# HG changeset patch # User Christian Haeubl # Date 1372067028 -7200 # Node ID 7344fa3e8833b9e0e1ffc6033da8393a5238fe1a # Parent dcbdf71c450741cfce91dfd9265e359f593af34f Fixed an interpreter issue concerning a trashed register. diff -r dcbdf71c4507 -r 7344fa3e8833 src/cpu/x86/vm/templateInterpreter_x86_64.cpp --- a/src/cpu/x86/vm/templateInterpreter_x86_64.cpp Mon Jun 24 08:01:33 2013 +0200 +++ b/src/cpu/x86/vm/templateInterpreter_x86_64.cpp Mon Jun 24 11:43:48 2013 +0200 @@ -375,11 +375,13 @@ __ testl(rcx, InvocationCounter::count_mask_value); __ jcc(Assembler::notZero, not_zero); + __ push(rax); __ push(rcx); __ call_VM(noreg, CAST_FROM_FN_PTR(address, graal_initialize_time), rdx, false); __ set_method_data_pointer_for_bcp(); __ get_method(rbx); __ pop(rcx); + __ pop(rax); __ testl(rcx, InvocationCounter::count_mask_value); __ jcc(Assembler::zero, not_zero);