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

Side by Side Diff: src/mips64/interface-descriptors-mips64.cc

Issue 530783003: MIPS: InterfaceDescriptor becomes CallInterfaceDescriptor. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/mips/lithium-mips.cc ('k') | src/mips64/lithium-mips64.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_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 const Register InterfaceDescriptor::ContextRegister() { return cp; } 14 const Register CallInterfaceDescriptor::ContextRegister() { return cp; }
15 15
16 16
17 void CallDescriptors::InitializeForIsolate(Isolate* isolate) { 17 void CallDescriptors::InitializeForIsolate(Isolate* isolate) {
18 { 18 {
19 CallInterfaceDescriptor* descriptor = 19 CallInterfaceDescriptor* descriptor =
20 isolate->call_descriptor(CallDescriptorKey::ArgumentAdaptorCall); 20 isolate->call_descriptor(CallDescriptorKey::ArgumentAdaptorCall);
21 Register registers[] = { cp, // context 21 Register registers[] = { cp, // context
22 a1, // JSFunction 22 a1, // JSFunction
23 a0, // actual number of arguments 23 a0, // actual number of arguments
24 a2, // expected number of arguments 24 a2, // expected number of arguments
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 Representation::Tagged(), // holder 83 Representation::Tagged(), // holder
84 Representation::External(), // api_function_address 84 Representation::External(), // api_function_address
85 }; 85 };
86 descriptor->Initialize(arraysize(registers), registers, representations); 86 descriptor->Initialize(arraysize(registers), registers, representations);
87 } 87 }
88 } 88 }
89 } 89 }
90 } // namespace v8::internal 90 } // namespace v8::internal
91 91
92 #endif // V8_TARGET_ARCH_MIPS64 92 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/mips64/lithium-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698