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

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

Issue 1404773002: Introduce AllocateInNewSpace stub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@begin-macro
Patch Set: Rebase Created 5 years, 2 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
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | src/interface-descriptors.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 #if V8_TARGET_ARCH_IA32 5 #if V8_TARGET_ARCH_IA32
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 } 220 }
221 221
222 222
223 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( 223 void AllocateHeapNumberDescriptor::InitializePlatformSpecific(
224 CallInterfaceDescriptorData* data) { 224 CallInterfaceDescriptorData* data) {
225 // register state 225 // register state
226 data->InitializePlatformSpecific(0, nullptr, nullptr); 226 data->InitializePlatformSpecific(0, nullptr, nullptr);
227 } 227 }
228 228
229 229
230 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific(
231 CallInterfaceDescriptorData* data) {
232 Register registers[] = {eax};
233 data->InitializePlatformSpecific(arraysize(registers), registers);
234 }
235
236
230 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( 237 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific(
231 CallInterfaceDescriptorData* data) { 238 CallInterfaceDescriptorData* data) {
232 // register state 239 // register state
233 // eax -- number of arguments 240 // eax -- number of arguments
234 // edi -- function 241 // edi -- function
235 // ebx -- allocation site with elements kind 242 // ebx -- allocation site with elements kind
236 Register registers[] = {edi, ebx}; 243 Register registers[] = {edi, ebx};
237 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 244 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
238 } 245 }
239 246
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 ecx, // address of first argument (argv) 415 ecx, // address of first argument (argv)
409 ebx // the runtime function to call 416 ebx // the runtime function to call
410 }; 417 };
411 data->InitializePlatformSpecific(arraysize(registers), registers); 418 data->InitializePlatformSpecific(arraysize(registers), registers);
412 } 419 }
413 420
414 } // namespace internal 421 } // namespace internal
415 } // namespace v8 422 } // namespace v8
416 423
417 #endif // V8_TARGET_ARCH_IA32 424 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | src/interface-descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698