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

Side by Side Diff: src/arm64/ic-arm64.cc

Issue 424423002: Remove keyed_store_calling convention and friends (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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/arm/stub-cache-arm.cc ('k') | src/arm64/stub-cache-arm64.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 "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/assembler-arm64.h" 9 #include "src/arm64/assembler-arm64.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 ASSERT(FLAG_vector_ics); 525 ASSERT(FLAG_vector_ics);
526 return x3; 526 return x3;
527 } 527 }
528 528
529 529
530 const Register StoreIC::ReceiverRegister() { return x1; } 530 const Register StoreIC::ReceiverRegister() { return x1; }
531 const Register StoreIC::NameRegister() { return x2; } 531 const Register StoreIC::NameRegister() { return x2; }
532 const Register StoreIC::ValueRegister() { return x0; } 532 const Register StoreIC::ValueRegister() { return x0; }
533 533
534 534
535 const Register KeyedStoreIC::ReceiverRegister() {
536 return StoreIC::ReceiverRegister();
537 }
538
539
540 const Register KeyedStoreIC::NameRegister() {
541 return StoreIC::NameRegister();
542 }
543
544
545 const Register KeyedStoreIC::ValueRegister() {
546 return StoreIC::ValueRegister();
547 }
548
549
550 const Register KeyedStoreIC::MapRegister() { 535 const Register KeyedStoreIC::MapRegister() {
551 return x3; 536 return x3;
552 } 537 }
553 538
554 539
555 void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { 540 void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) {
556 // The return address is in lr. 541 // The return address is in lr.
557 __ Push(ReceiverRegister(), NameRegister()); 542 __ Push(ReceiverRegister(), NameRegister());
558 __ TailCallRuntime(Runtime::kKeyedGetProperty, 2, 1); 543 __ TailCallRuntime(Runtime::kKeyedGetProperty, 2, 1);
559 } 544 }
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
1293 ASSERT(to_patch->Mask(TestBranchMask) == TBNZ); 1278 ASSERT(to_patch->Mask(TestBranchMask) == TBNZ);
1294 // This is JumpIfSmi(smi_reg, branch_imm). 1279 // This is JumpIfSmi(smi_reg, branch_imm).
1295 patcher.tbz(smi_reg, 0, branch_imm); 1280 patcher.tbz(smi_reg, 0, branch_imm);
1296 } 1281 }
1297 } 1282 }
1298 1283
1299 1284
1300 } } // namespace v8::internal 1285 } } // namespace v8::internal
1301 1286
1302 #endif // V8_TARGET_ARCH_ARM64 1287 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/arm64/stub-cache-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698