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

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

Issue 486213003: Move register conventions out of the IC classes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE. 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/ic/arm64/ic-compiler-arm64.cc ('k') | src/ic/ia32/access-compiler-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "src/v8.h"
6
7 #if V8_TARGET_ARCH_ARM64
8
9 #include "src/codegen.h"
10 #include "src/ic/ic-conventions.h"
11
12 namespace v8 {
13 namespace internal {
14
15 // IC register specifications
16 const Register LoadConvention::ReceiverRegister() { return x1; }
17 const Register LoadConvention::NameRegister() { return x2; }
18
19 const Register VectorLoadConvention::SlotRegister() {
20 DCHECK(FLAG_vector_ics);
21 return x0;
22 }
23
24
25 const Register FullVectorLoadConvention::VectorRegister() {
26 DCHECK(FLAG_vector_ics);
27 return x3;
28 }
29
30
31 const Register StoreConvention::ReceiverRegister() { return x1; }
32 const Register StoreConvention::NameRegister() { return x2; }
33 const Register StoreConvention::ValueRegister() { return x0; }
34
35
36 const Register StoreConvention::MapRegister() { return x3; }
37 }
38 } // namespace v8::internal
39
40 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/ic/arm64/ic-compiler-arm64.cc ('k') | src/ic/ia32/access-compiler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698