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

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

Issue 2044113002: Turn Function.prototype.bind into a hydrogen stub optimized for the common case (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: arm64 Created 4 years, 6 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
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC 5 #if V8_TARGET_ARCH_PPC
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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 } 275 }
276 276
277 277
278 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( 278 void InternalArrayConstructorDescriptor::InitializePlatformSpecific(
279 CallInterfaceDescriptorData* data) { 279 CallInterfaceDescriptorData* data) {
280 // stack param count needs (constructor pointer, and single argument) 280 // stack param count needs (constructor pointer, and single argument)
281 Register registers[] = {r4, r3}; 281 Register registers[] = {r4, r3};
282 data->InitializePlatformSpecific(arraysize(registers), registers); 282 data->InitializePlatformSpecific(arraysize(registers), registers);
283 } 283 }
284 284
285 void FastArrayPushDescriptor::InitializePlatformSpecific( 285 void VarArgFunctionDescriptor::InitializePlatformSpecific(
286 CallInterfaceDescriptorData* data) { 286 CallInterfaceDescriptorData* data) {
287 // stack param count needs (arg count) 287 // stack param count needs (arg count)
288 Register registers[] = {r3}; 288 Register registers[] = {r3};
289 data->InitializePlatformSpecific(arraysize(registers), registers); 289 data->InitializePlatformSpecific(arraysize(registers), registers);
290 } 290 }
291 291
292 void CompareDescriptor::InitializePlatformSpecific( 292 void CompareDescriptor::InitializePlatformSpecific(
293 CallInterfaceDescriptorData* data) { 293 CallInterfaceDescriptorData* data) {
294 Register registers[] = {r4, r3}; 294 Register registers[] = {r4, r3};
295 data->InitializePlatformSpecific(arraysize(registers), registers); 295 data->InitializePlatformSpecific(arraysize(registers), registers);
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 r3, // the value to pass to the generator 416 r3, // the value to pass to the generator
417 r4, // the JSGeneratorObject to resume 417 r4, // the JSGeneratorObject to resume
418 r5 // the resume mode (tagged) 418 r5 // the resume mode (tagged)
419 }; 419 };
420 data->InitializePlatformSpecific(arraysize(registers), registers); 420 data->InitializePlatformSpecific(arraysize(registers), registers);
421 } 421 }
422 } // namespace internal 422 } // namespace internal
423 } // namespace v8 423 } // namespace v8
424 424
425 #endif // V8_TARGET_ARCH_PPC 425 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698