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

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

Issue 527093002: Make concrete classes for individual call descriptors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE. 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "src/v8.h"
6
7 #if V8_TARGET_ARCH_X64
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 rdx; }
17 const Register LoadConvention::NameRegister() { return rcx; }
18
19
20 const Register VectorLoadConvention::SlotRegister() { return rax; }
21
22
23 const Register FullVectorLoadConvention::VectorRegister() { return rbx; }
24
25
26 const Register StoreConvention::ReceiverRegister() { return rdx; }
27 const Register StoreConvention::NameRegister() { return rcx; }
28 const Register StoreConvention::ValueRegister() { return rax; }
29 const Register StoreConvention::MapRegister() { return rbx; }
30
31
32 // Passing arguments in registers is not supported.
33 const Register InstanceofConvention::left() { return rax; }
34 const Register InstanceofConvention::right() { return rdx; }
35 }
36 } // namespace v8::internal
37
38 #endif // V8_TARGET_ARCH_X64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698