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

Side by Side Diff: src/arm/interface-descriptors-arm.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 #include "src/arm/interface-descriptors-arm.h" 5 #include "src/arm/interface-descriptors-arm.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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 data->InitializePlatformSpecific(arraysize(registers), registers); 77 data->InitializePlatformSpecific(arraysize(registers), registers);
78 } 78 }
79 79
80 80
81 void FastNewContextDescriptor::InitializePlatformSpecific( 81 void FastNewContextDescriptor::InitializePlatformSpecific(
82 CallInterfaceDescriptorData* data) { 82 CallInterfaceDescriptorData* data) {
83 Register registers[] = {r1}; 83 Register registers[] = {r1};
84 data->InitializePlatformSpecific(arraysize(registers), registers); 84 data->InitializePlatformSpecific(arraysize(registers), registers);
85 } 85 }
86 86
87 void FastNewObjectDescriptor::InitializePlatformSpecific(
88 CallInterfaceDescriptorData* data) {
89 Register registers[] = {r1, r3};
90 data->InitializePlatformSpecific(arraysize(registers), registers);
91 }
87 92
88 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 93 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
89 CallInterfaceDescriptorData* data) { 94 CallInterfaceDescriptorData* data) {
90 Register registers[] = {r1}; 95 Register registers[] = {r1};
91 data->InitializePlatformSpecific(arraysize(registers), registers); 96 data->InitializePlatformSpecific(arraysize(registers), registers);
92 } 97 }
93 98
94 99
95 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( 100 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific(
96 CallInterfaceDescriptorData* data) { 101 CallInterfaceDescriptorData* data) {
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 r2, // address of first argument (argv) 478 r2, // address of first argument (argv)
474 r1 // the runtime function to call 479 r1 // the runtime function to call
475 }; 480 };
476 data->InitializePlatformSpecific(arraysize(registers), registers); 481 data->InitializePlatformSpecific(arraysize(registers), registers);
477 } 482 }
478 483
479 } // namespace internal 484 } // namespace internal
480 } // namespace v8 485 } // namespace v8
481 486
482 #endif // V8_TARGET_ARCH_ARM 487 #endif // V8_TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698