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

Side by Side Diff: src/arm64/interface-descriptors-arm64.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/arm64/interface-descriptors-arm64.h" 5 #include "src/arm64/interface-descriptors-arm64.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
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 } 77 }
78 78
79 79
80 void FastNewContextDescriptor::InitializePlatformSpecific( 80 void FastNewContextDescriptor::InitializePlatformSpecific(
81 CallInterfaceDescriptorData* data) { 81 CallInterfaceDescriptorData* data) {
82 // x1: function 82 // x1: function
83 Register registers[] = {x1}; 83 Register registers[] = {x1};
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[] = {x1, x3};
90 data->InitializePlatformSpecific(arraysize(registers), registers);
91 }
87 92
88 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 93 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
89 CallInterfaceDescriptorData* data) { 94 CallInterfaceDescriptorData* data) {
90 // x1: function 95 // x1: function
91 Register registers[] = {x1}; 96 Register registers[] = {x1};
92 data->InitializePlatformSpecific(arraysize(registers), registers); 97 data->InitializePlatformSpecific(arraysize(registers), registers);
93 } 98 }
94 99
95 100
96 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( 101 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific(
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 x1 // the runtime function to call 515 x1 // the runtime function to call
511 }; 516 };
512 data->InitializePlatformSpecific(arraysize(registers), registers); 517 data->InitializePlatformSpecific(arraysize(registers), registers);
513 } 518 }
514 519
515 520
516 } // namespace internal 521 } // namespace internal
517 } // namespace v8 522 } // namespace v8
518 523
519 #endif // V8_TARGET_ARCH_ARM64 524 #endif // V8_TARGET_ARCH_ARM64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698