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

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

Issue 1708313002: [stubs] Introduce a dedicated FastNewObjectStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove TODO. Created 4 years, 10 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
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 80 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
81 } 81 }
82 82
83 83
84 void FastNewContextDescriptor::InitializePlatformSpecific( 84 void FastNewContextDescriptor::InitializePlatformSpecific(
85 CallInterfaceDescriptorData* data) { 85 CallInterfaceDescriptorData* data) {
86 Register registers[] = {edi}; 86 Register registers[] = {edi};
87 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 87 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
88 } 88 }
89 89
90 void FastNewObjectDescriptor::InitializePlatformSpecific(
91 CallInterfaceDescriptorData* data) {
92 Register registers[] = {edi, edx};
93 data->InitializePlatformSpecific(arraysize(registers), registers);
94 }
90 95
91 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 96 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
92 CallInterfaceDescriptorData* data) { 97 CallInterfaceDescriptorData* data) {
93 Register registers[] = {edi}; 98 Register registers[] = {edi};
94 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 99 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
95 } 100 }
96 101
97 102
98 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( 103 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific(
99 CallInterfaceDescriptorData* data) { 104 CallInterfaceDescriptorData* data) {
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 ecx, // address of first argument (argv) 458 ecx, // address of first argument (argv)
454 ebx // the runtime function to call 459 ebx // the runtime function to call
455 }; 460 };
456 data->InitializePlatformSpecific(arraysize(registers), registers); 461 data->InitializePlatformSpecific(arraysize(registers), registers);
457 } 462 }
458 463
459 } // namespace internal 464 } // namespace internal
460 } // namespace v8 465 } // namespace v8
461 466
462 #endif // V8_TARGET_ARCH_IA32 467 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698