Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1268)

Side by Side Diff: src/arm64/delayed-masm-arm64.cc

Issue 708473002: fix assert in arm64 gap resolver (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/arm64/delayed-masm-arm64.h" 9 #include "src/arm64/delayed-masm-arm64.h"
10 #include "src/arm64/lithium-codegen-arm64.h" 10 #include "src/arm64/lithium-codegen-arm64.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 #define __ ACCESS_MASM(masm_) 15 #define __ ACCESS_MASM(masm_)
16 16
17 17
18 void DelayedMasm::StackSlotMove(LOperand* src, LOperand* dst) { 18 void DelayedMasm::StackSlotMove(LOperand* src, LOperand* dst) {
19 DCHECK(src->IsStackSlot()); 19 DCHECK((src->IsStackSlot() && dst->IsStackSlot()) ||
20 DCHECK(dst->IsStackSlot()); 20 (src->IsDoubleStackSlot() && dst->IsDoubleStackSlot()));
21 MemOperand src_operand = cgen_->ToMemOperand(src); 21 MemOperand src_operand = cgen_->ToMemOperand(src);
22 MemOperand dst_operand = cgen_->ToMemOperand(dst); 22 MemOperand dst_operand = cgen_->ToMemOperand(dst);
23 if (pending_ == kStackSlotMove) { 23 if (pending_ == kStackSlotMove) {
24 DCHECK(pending_pc_ == masm_->pc_offset()); 24 DCHECK(pending_pc_ == masm_->pc_offset());
25 UseScratchRegisterScope scope(masm_); 25 UseScratchRegisterScope scope(masm_);
26 DoubleRegister temp1 = scope.AcquireD(); 26 DoubleRegister temp1 = scope.AcquireD();
27 DoubleRegister temp2 = scope.AcquireD(); 27 DoubleRegister temp2 = scope.AcquireD();
28 switch (MemOperand::AreConsistentForPair(pending_address_src_, 28 switch (MemOperand::AreConsistentForPair(pending_address_src_,
29 src_operand)) { 29 src_operand)) {
30 case MemOperand::kNotPair: 30 case MemOperand::kNotPair:
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 __ Str(temp, pending_address_dst_); 189 __ Str(temp, pending_address_dst_);
190 break; 190 break;
191 } 191 }
192 } 192 }
193 ResetPending(); 193 ResetPending();
194 } 194 }
195 195
196 } } // namespace v8::internal 196 } } // namespace v8::internal
197 197
198 #endif // V8_TARGET_ARCH_ARM64 198 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698