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

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

Issue 523583002: Multiple stubs can point to the same calling convention. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ports. Created 6 years, 3 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/ia32/interface-descriptors-ia32.cc ('k') | src/ic/arm64/ic-conventions-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 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/codegen.h" 9 #include "src/codegen.h"
10 #include "src/ic/ic-conventions.h" 10 #include "src/ic/ic-conventions.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 // IC register specifications 15 // IC register specifications
16 const Register LoadConvention::ReceiverRegister() { return r1; } 16 const Register LoadConvention::ReceiverRegister() { return r1; }
17 const Register LoadConvention::NameRegister() { return r2; } 17 const Register LoadConvention::NameRegister() { return r2; }
18 18
19 19
20 const Register VectorLoadConvention::SlotRegister() { 20 const Register VectorLoadConvention::SlotRegister() { return r0; }
21 DCHECK(FLAG_vector_ics);
22 return r0;
23 }
24 21
25 22
26 const Register FullVectorLoadConvention::VectorRegister() { 23 const Register FullVectorLoadConvention::VectorRegister() { return r3; }
27 DCHECK(FLAG_vector_ics);
28 return r3;
29 }
30 24
31 25
32 const Register StoreConvention::ReceiverRegister() { return r1; } 26 const Register StoreConvention::ReceiverRegister() { return r1; }
33 const Register StoreConvention::NameRegister() { return r2; } 27 const Register StoreConvention::NameRegister() { return r2; }
34 const Register StoreConvention::ValueRegister() { return r0; } 28 const Register StoreConvention::ValueRegister() { return r0; }
29 const Register StoreConvention::MapRegister() { return r3; }
35 30
36 31
37 const Register StoreConvention::MapRegister() { return r3; } 32 const Register InstanceofConvention::left() { return r0; }
33 const Register InstanceofConvention::right() { return r1; }
38 } 34 }
39 } // namespace v8::internal 35 } // namespace v8::internal
40 36
41 #endif // V8_TARGET_ARCH_ARM 37 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/ic/arm64/ic-conventions-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698