Reviewers: ulan,

Message:
Committed patchset #1 (id:1) manually as 25163 (presubmit successful).

Description:
fix assert in arm64 gap resolver

BUG=
[email protected]

Committed: https://code.google.com/p/v8/source/detail?r=25163

Please review this at https://codereview.chromium.org/708473002/

Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -2 lines):
  M src/arm64/delayed-masm-arm64.cc


Index: src/arm64/delayed-masm-arm64.cc
diff --git a/src/arm64/delayed-masm-arm64.cc b/src/arm64/delayed-masm-arm64.cc index c3bda915e8c1ce6d2cf1bff7e94175f330cf51df..b51e77ec865704a1feb32370c0077a36865f8616 100644
--- a/src/arm64/delayed-masm-arm64.cc
+++ b/src/arm64/delayed-masm-arm64.cc
@@ -16,8 +16,8 @@ namespace internal {


 void DelayedMasm::StackSlotMove(LOperand* src, LOperand* dst) {
-  DCHECK(src->IsStackSlot());
-  DCHECK(dst->IsStackSlot());
+  DCHECK((src->IsStackSlot() && dst->IsStackSlot()) ||
+         (src->IsDoubleStackSlot() && dst->IsDoubleStackSlot()));
   MemOperand src_operand = cgen_->ToMemOperand(src);
   MemOperand dst_operand = cgen_->ToMemOperand(dst);
   if (pending_ == kStackSlotMove) {


--
--
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