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

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

Issue 1266013006: [stubs] Unify (and optimize) implementation of ToObject. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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/v8.h" 5 #include "src/v8.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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 } 88 }
89 89
90 90
91 void ToNumberDescriptor::InitializePlatformSpecific( 91 void ToNumberDescriptor::InitializePlatformSpecific(
92 CallInterfaceDescriptorData* data) { 92 CallInterfaceDescriptorData* data) {
93 Register registers[] = {r0}; 93 Register registers[] = {r0};
94 data->InitializePlatformSpecific(arraysize(registers), registers); 94 data->InitializePlatformSpecific(arraysize(registers), registers);
95 } 95 }
96 96
97 97
98 void ToObjectDescriptor::InitializePlatformSpecific(
99 CallInterfaceDescriptorData* data) {
100 Register registers[] = {r0};
101 data->InitializePlatformSpecific(arraysize(registers), registers);
102 }
103
104
98 void NumberToStringDescriptor::InitializePlatformSpecific( 105 void NumberToStringDescriptor::InitializePlatformSpecific(
99 CallInterfaceDescriptorData* data) { 106 CallInterfaceDescriptorData* data) {
100 Register registers[] = {r0}; 107 Register registers[] = {r0};
101 data->InitializePlatformSpecific(arraysize(registers), registers); 108 data->InitializePlatformSpecific(arraysize(registers), registers);
102 } 109 }
103 110
104 111
105 void TypeofDescriptor::InitializePlatformSpecific( 112 void TypeofDescriptor::InitializePlatformSpecific(
106 CallInterfaceDescriptorData* data) { 113 CallInterfaceDescriptorData* data) {
107 Register registers[] = {r3}; 114 Register registers[] = {r3};
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 r1, // math rounding function 388 r1, // math rounding function
382 r3, // vector slot id 389 r3, // vector slot id
383 r4, // type vector 390 r4, // type vector
384 }; 391 };
385 data->InitializePlatformSpecific(arraysize(registers), registers); 392 data->InitializePlatformSpecific(arraysize(registers), registers);
386 } 393 }
387 } // namespace internal 394 } // namespace internal
388 } // namespace v8 395 } // namespace v8
389 396
390 #endif // V8_TARGET_ARCH_ARM 397 #endif // V8_TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698