A64: Improve the code sequence generated for deoptimization exits.

R=ulan@chromium.org

Review URL: https://codereview.chromium.org/200143002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19942 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f9f37dba
......@@ -1030,11 +1030,9 @@ void LCodeGen::DeoptimizeBranch(
ASSERT(info()->IsStub() || frame_is_built_);
// Go through jump table if we need to build frame, or restore caller doubles.
if (frame_is_built_ && !info()->saves_caller_doubles()) {
Label dont_deopt;
__ B(&dont_deopt, InvertBranchType(branch_type), reg, bit);
if (branch_type == always &&
frame_is_built_ && !info()->saves_caller_doubles()) {
__ Call(entry, RelocInfo::RUNTIME_ENTRY);
__ Bind(&dont_deopt);
} else {
// We often have several deopts to the same entry, reuse the last
// jump entry if this is the case.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment