fix assert in arm64 gap resolver
authordcarney@chromium.org <dcarney@chromium.org>
Wed, 5 Nov 2014 15:09:15 +0000 (15:09 +0000)
committerdcarney@chromium.org <dcarney@chromium.org>
Wed, 5 Nov 2014 15:09:48 +0000 (15:09 +0000)
BUG=
R=ulan@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#25163}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25163 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/arm64/delayed-masm-arm64.cc

index c3bda915e8c1ce6d2cf1bff7e94175f330cf51df..b51e77ec865704a1feb32370c0077a36865f8616 100644 (file)
@@ -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) {