Revision: 19942
Author:   [email protected]
Date:     Fri Mar 14 15:17:34 2014 UTC
Log:      A64: Improve the code sequence generated for deoptimization exits.

[email protected]

Review URL: https://codereview.chromium.org/200143002
http://code.google.com/p/v8/source/detail?r=19942

Modified:
 /branches/bleeding_edge/src/a64/lithium-codegen-a64.cc

=======================================
--- /branches/bleeding_edge/src/a64/lithium-codegen-a64.cc Fri Mar 14 15:14:42 2014 UTC +++ /branches/bleeding_edge/src/a64/lithium-codegen-a64.cc Fri Mar 14 15:17:34 2014 UTC
@@ -1030,11 +1030,9 @@

   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.

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to