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

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

Issue 334743011: Version 3.26.31.5 (revert 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 }
565 Str(rt, addr); 560 Str(rt, addr);
566 } 561 }
567 } 562 }
568 563
569 564
570 bool MacroAssembler::NeedExtraInstructionsOrRegisterBranch( 565 bool MacroAssembler::NeedExtraInstructionsOrRegisterBranch(
571 Label *label, ImmBranchType b_type) { 566 Label *label, ImmBranchType b_type) {
572 bool need_longer_range = false; 567 bool need_longer_range = false;
573 // There are two situations in which we care about the offset being out of 568 // There are two situations in which we care about the offset being out of
574 // range: 569 // range:
(...skipping 4645 matching lines...) Expand 10 before | Expand all | Expand 10 after
5220 } 5215 }
5221 } 5216 }
5222 5217
5223 5218
5224 #undef __ 5219 #undef __
5225 5220
5226 5221
5227 } } // namespace v8::internal 5222 } } // namespace v8::internal
5228 5223
5229 #endif // V8_TARGET_ARCH_ARM64 5224 #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