Mercurial > hg > truffle
comparison src/cpu/x86/vm/sharedRuntime_x86_64.cpp @ 2928:1e13559b112d
small fix in deopt stub, more branch prediction code
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Thu, 09 Jun 2011 20:25:38 +0200 |
parents | 75a99b4f1c98 |
children | 9b8f30608e62 |
comparison
equal
deleted
inserted
replaced
2927:f9c6d9bc4fbc | 2928:1e13559b112d |
---|---|
2667 | 2667 |
2668 | 2668 |
2669 // fetch_unroll_info needs to call last_java_frame() | 2669 // fetch_unroll_info needs to call last_java_frame() |
2670 __ set_last_Java_frame(noreg, noreg, NULL); | 2670 __ set_last_Java_frame(noreg, noreg, NULL); |
2671 | 2671 |
2672 __ movl(c_rarg1, (int32_t)Deoptimization::Unpack_reexecute); | 2672 // __ movl(c_rarg1, (int32_t)Deoptimization::Unpack_reexecute); |
2673 __ movl(r14, c_rarg1); // save into r14 for later call to unpack_frames | 2673 // __ movl(r14, c_rarg1); // save into r14 for later call to unpack_frames |
2674 __ movl(c_rarg1, (int32_t)-1); | |
2675 __ movl(r14, (int32_t)Deoptimization::Unpack_reexecute); | |
2674 __ mov(c_rarg0, r15_thread); | 2676 __ mov(c_rarg0, r15_thread); |
2675 __ call(RuntimeAddress(CAST_FROM_FN_PTR(address, Deoptimization::uncommon_trap))); | 2677 __ call(RuntimeAddress(CAST_FROM_FN_PTR(address, Deoptimization::uncommon_trap))); |
2676 | 2678 |
2677 // Need to have an oopmap that tells fetch_unroll_info where to | 2679 // Need to have an oopmap that tells fetch_unroll_info where to |
2678 // find any register it might need. | 2680 // find any register it might need. |