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

Side by Side Diff: src/arm64/macro-assembler-arm64.cc

Issue 332333002: Version 3.26.31.6 (merged r21509, r21858, r21525) (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.26
Patch Set: Created 6 years, 6 months 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 | « src/arm64/lithium-codegen-arm64.cc ('k') | src/hydrogen.cc » ('j') | 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 "v8.h" 5 #include "v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "bootstrapper.h" 9 #include "bootstrapper.h"
10 #include "codegen.h" 10 #include "codegen.h"
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 ASSERT(!r.IsDouble()); 550 ASSERT(!r.IsDouble());
551 551
552 if (r.IsInteger8() || r.IsUInteger8()) { 552 if (r.IsInteger8() || r.IsUInteger8()) {
553 Strb(rt, addr); 553 Strb(rt, addr);
554 } else if (r.IsInteger16() || r.IsUInteger16()) { 554 } else if (r.IsInteger16() || r.IsUInteger16()) {
555 Strh(rt, addr); 555 Strh(rt, addr);
556 } else if (r.IsInteger32()) { 556 } else if (r.IsInteger32()) {
557 Str(rt.W(), addr); 557 Str(rt.W(), addr);
558 } else { 558 } else {
559 ASSERT(rt.Is64Bits()); 559 ASSERT(rt.Is64Bits());
560 if (r.IsHeapObject()) {
561 AssertNotSmi(rt);
562 } else if (r.IsSmi()) {
563 AssertSmi(rt);
564 }
560 Str(rt, addr); 565 Str(rt, addr);
561 } 566 }
562 } 567 }
563 568
564 569
565 bool MacroAssembler::NeedExtraInstructionsOrRegisterBranch( 570 bool MacroAssembler::NeedExtraInstructionsOrRegisterBranch(
566 Label *label, ImmBranchType b_type) { 571 Label *label, ImmBranchType b_type) {
567 bool need_longer_range = false; 572 bool need_longer_range = false;
568 // There are two situations in which we care about the offset being out of 573 // There are two situations in which we care about the offset being out of
569 // range: 574 // range:
(...skipping 4645 matching lines...) Expand 10 before | Expand all | Expand 10 after
5215 } 5220 }
5216 } 5221 }
5217 5222
5218 5223
5219 #undef __ 5224 #undef __
5220 5225
5221 5226
5222 } } // namespace v8::internal 5227 } } // namespace v8::internal
5223 5228
5224 #endif // V8_TARGET_ARCH_ARM64 5229 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698