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

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

Issue 699903002: MIPS: [turbofan] Add AllocateHeapNumberStub to avoid runtime call. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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/interface-descriptors-mips.cc ('k') | no next file » | 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
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 } 145 }
146 146
147 147
148 void TransitionElementsKindDescriptor::Initialize( 148 void TransitionElementsKindDescriptor::Initialize(
149 CallInterfaceDescriptorData* data) { 149 CallInterfaceDescriptorData* data) {
150 Register registers[] = {cp, a0, a1}; 150 Register registers[] = {cp, a0, a1};
151 data->Initialize(arraysize(registers), registers, NULL); 151 data->Initialize(arraysize(registers), registers, NULL);
152 } 152 }
153 153
154 154
155 void AllocateHeapNumberDescriptor::Initialize(
156 CallInterfaceDescriptorData* data) {
157 // register state
158 // cp -- context
159 Register registers[] = {cp};
160 data->Initialize(arraysize(registers), registers, nullptr);
161 }
162
163
155 void ArrayConstructorConstantArgCountDescriptor::Initialize( 164 void ArrayConstructorConstantArgCountDescriptor::Initialize(
156 CallInterfaceDescriptorData* data) { 165 CallInterfaceDescriptorData* data) {
157 // register state 166 // register state
158 // cp -- context 167 // cp -- context
159 // a0 -- number of arguments 168 // a0 -- number of arguments
160 // a1 -- function 169 // a1 -- function
161 // a2 -- allocation site with elements kind 170 // a2 -- allocation site with elements kind
162 Register registers[] = {cp, a1, a2}; 171 Register registers[] = {cp, a1, a2};
163 data->Initialize(arraysize(registers), registers, NULL); 172 data->Initialize(arraysize(registers), registers, NULL);
164 } 173 }
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 Representation::Tagged(), // call_data 306 Representation::Tagged(), // call_data
298 Representation::Tagged(), // holder 307 Representation::Tagged(), // holder
299 Representation::External(), // api_function_address 308 Representation::External(), // api_function_address
300 }; 309 };
301 data->Initialize(arraysize(registers), registers, representations); 310 data->Initialize(arraysize(registers), registers, representations);
302 } 311 }
303 } 312 }
304 } // namespace v8::internal 313 } // namespace v8::internal
305 314
306 #endif // V8_TARGET_ARCH_MIPS64 315 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/interface-descriptors-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698