From: dcarney@chromium.org Date: Wed, 5 Nov 2014 15:09:15 +0000 (+0000) Subject: fix assert in arm64 gap resolver X-Git-Tag: upstream/4.7.83~5866 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9aa536f21a0e85566864d5ae8dd93aef64bd1564;p=platform%2Fupstream%2Fv8.git fix assert in arm64 gap resolver 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 --- diff --git a/src/arm64/delayed-masm-arm64.cc b/src/arm64/delayed-masm-arm64.cc index c3bda91..b51e77e 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) {