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

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

Issue 398053002: Introduce FLAG_vector_ics. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE. Created 6 years, 5 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/full-codegen-arm.cc ('k') | src/arm/lithium-arm.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/arm/assembler-arm.h" 9 #include "src/arm/assembler-arm.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 490
491 __ TailCallExternalReference(ref, 2, 1); 491 __ TailCallExternalReference(ref, 2, 1);
492 } 492 }
493 493
494 494
495 // IC register specifications 495 // IC register specifications
496 const Register LoadIC::ReceiverRegister() { return r1; } 496 const Register LoadIC::ReceiverRegister() { return r1; }
497 const Register LoadIC::NameRegister() { return r2; } 497 const Register LoadIC::NameRegister() { return r2; }
498 498
499 499
500 const Register LoadIC::SlotRegister() {
501 ASSERT(FLAG_vector_ics);
502 return r0;
503 }
504
505
506 const Register LoadIC::VectorRegister() {
507 ASSERT(FLAG_vector_ics);
508 return r3;
509 }
510
511
500 const Register StoreIC::ReceiverRegister() { return r1; } 512 const Register StoreIC::ReceiverRegister() { return r1; }
501 const Register StoreIC::NameRegister() { return r2; } 513 const Register StoreIC::NameRegister() { return r2; }
502 const Register StoreIC::ValueRegister() { return r0; } 514 const Register StoreIC::ValueRegister() { return r0; }
503 515
504 516
505 const Register KeyedStoreIC::ReceiverRegister() { 517 const Register KeyedStoreIC::ReceiverRegister() {
506 return StoreIC::ReceiverRegister(); 518 return StoreIC::ReceiverRegister();
507 } 519 }
508 520
509 521
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
1237 } else { 1249 } else {
1238 ASSERT(Assembler::GetCondition(branch_instr) == ne); 1250 ASSERT(Assembler::GetCondition(branch_instr) == ne);
1239 patcher.EmitCondition(eq); 1251 patcher.EmitCondition(eq);
1240 } 1252 }
1241 } 1253 }
1242 1254
1243 1255
1244 } } // namespace v8::internal 1256 } } // namespace v8::internal
1245 1257
1246 #endif // V8_TARGET_ARCH_ARM 1258 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698