Mercurial > hg > graal-compiler
diff src/cpu/x86/vm/sharedRuntime_x86_64.cpp @ 10560:0b1b5356b566
Fixed issues around execute compiled code stub. Made TraceDeoptimization a product flag.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 27 Jun 2013 21:20:07 +0200 |
parents | 40b8c383bc31 |
children | 6b0fd0964b87 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/sharedRuntime_x86_64.cpp Thu Jun 27 15:14:29 2013 +0200 +++ b/src/cpu/x86/vm/sharedRuntime_x86_64.cpp Thu Jun 27 21:20:07 2013 +0200 @@ -1680,15 +1680,15 @@ // fourth argument (j_rarg3) is a pointer to the HotSpotInstalledCode object. // Load the nmethod pointer from the HotSpotInstalledCode object - __ movq(j_rarg3, Address(j_rarg3, sizeof(oopDesc))); + __ movq(j_rarg4, Address(j_rarg3, sizeof(oopDesc))); // Check whether the nmethod was invalidated - __ testq(j_rarg3, j_rarg3); + __ testq(j_rarg4, j_rarg4); Label invalid_nmethod; __ jcc(Assembler::zero, invalid_nmethod); // Perform a tail call to the verified entry point of the nmethod. - __ jmp(Address(j_rarg3, nmethod::verified_entry_point_offset())); + __ jmp(Address(j_rarg4, nmethod::verified_entry_point_offset())); __ bind(invalid_nmethod);