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

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

Issue 2645743002: [builtins] Port parameter and argument-related code stubs to CSA (Closed)
Patch Set: Remove stray change Created 3 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; } 63 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; }
64 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; } 64 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; }
65 65
66 66
67 void FastNewClosureDescriptor::InitializePlatformSpecific( 67 void FastNewClosureDescriptor::InitializePlatformSpecific(
68 CallInterfaceDescriptorData* data) { 68 CallInterfaceDescriptorData* data) {
69 Register registers[] = {r1, r2, r3}; 69 Register registers[] = {r1, r2, r3};
70 data->InitializePlatformSpecific(arraysize(registers), registers); 70 data->InitializePlatformSpecific(arraysize(registers), registers);
71 } 71 }
72 72
73 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
74 CallInterfaceDescriptorData* data) {
75 Register registers[] = {r1};
76 data->InitializePlatformSpecific(arraysize(registers), registers);
77 }
78
79
80 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific(
81 CallInterfaceDescriptorData* data) {
82 Register registers[] = {r1};
83 data->InitializePlatformSpecific(arraysize(registers), registers);
84 }
85
86
87 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific(
88 CallInterfaceDescriptorData* data) {
89 Register registers[] = {r1};
90 data->InitializePlatformSpecific(arraysize(registers), registers);
91 }
92
93
94 // static 73 // static
95 const Register TypeConversionDescriptor::ArgumentRegister() { return r0; } 74 const Register TypeConversionDescriptor::ArgumentRegister() { return r0; }
96 75
97 void TypeofDescriptor::InitializePlatformSpecific( 76 void TypeofDescriptor::InitializePlatformSpecific(
98 CallInterfaceDescriptorData* data) { 77 CallInterfaceDescriptorData* data) {
99 Register registers[] = {r3}; 78 Register registers[] = {r3};
100 data->InitializePlatformSpecific(arraysize(registers), registers); 79 data->InitializePlatformSpecific(arraysize(registers), registers);
101 } 80 }
102 81
103 82
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 Register registers[] = { 421 Register registers[] = {
443 r1, // loaded new FP 422 r1, // loaded new FP
444 }; 423 };
445 data->InitializePlatformSpecific(arraysize(registers), registers); 424 data->InitializePlatformSpecific(arraysize(registers), registers);
446 } 425 }
447 426
448 } // namespace internal 427 } // namespace internal
449 } // namespace v8 428 } // namespace v8
450 429
451 #endif // V8_TARGET_ARCH_ARM 430 #endif // V8_TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698