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

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

Issue 703473004: [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
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/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, r0, r1}; 150 Register registers[] = {cp, r0, r1};
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 // r0 -- number of arguments 168 // r0 -- number of arguments
160 // r1 -- function 169 // r1 -- function
161 // r2 -- allocation site with elements kind 170 // r2 -- allocation site with elements kind
162 Register registers[] = {cp, r1, r2}; 171 Register registers[] = {cp, r1, r2};
163 data->Initialize(arraysize(registers), registers, NULL); 172 data->Initialize(arraysize(registers), registers, NULL);
164 } 173 }
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 Representation::Tagged(), // holder 326 Representation::Tagged(), // holder
318 Representation::External(), // api_function_address 327 Representation::External(), // api_function_address
319 }; 328 };
320 data->Initialize(arraysize(registers), registers, representations, 329 data->Initialize(arraysize(registers), registers, representations,
321 &default_descriptor); 330 &default_descriptor);
322 } 331 }
323 } 332 }
324 } // namespace v8::internal 333 } // namespace v8::internal
325 334
326 #endif // V8_TARGET_ARCH_ARM 335 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/interface-descriptors-arm64.cc » ('j') | src/compiler/change-lowering.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698