OLD | NEW |
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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 CallInterfaceDescriptorData* data) { | 344 CallInterfaceDescriptorData* data) { |
345 Register registers[] = { | 345 Register registers[] = { |
346 r4, // JSFunction | 346 r4, // JSFunction |
347 r6, // the new target | 347 r6, // the new target |
348 r3, // actual number of arguments | 348 r3, // actual number of arguments |
349 r5, // expected number of arguments | 349 r5, // expected number of arguments |
350 }; | 350 }; |
351 data->InitializePlatformSpecific(arraysize(registers), registers); | 351 data->InitializePlatformSpecific(arraysize(registers), registers); |
352 } | 352 } |
353 | 353 |
354 void ApiCallbackDescriptorBase::InitializePlatformSpecific( | 354 void ApiCallbackDescriptor::InitializePlatformSpecific( |
355 CallInterfaceDescriptorData* data) { | 355 CallInterfaceDescriptorData* data) { |
356 Register registers[] = { | 356 Register registers[] = { |
357 r3, // callee | 357 r3, // callee |
358 r7, // call_data | 358 r7, // call_data |
359 r5, // holder | 359 r5, // holder |
360 r4, // api_function_address | 360 r4, // api_function_address |
361 }; | 361 }; |
362 data->InitializePlatformSpecific(arraysize(registers), registers); | 362 data->InitializePlatformSpecific(arraysize(registers), registers); |
363 } | 363 } |
364 | 364 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 r3, // the value to pass to the generator | 419 r3, // the value to pass to the generator |
420 r4, // the JSGeneratorObject to resume | 420 r4, // the JSGeneratorObject to resume |
421 r5 // the resume mode (tagged) | 421 r5 // the resume mode (tagged) |
422 }; | 422 }; |
423 data->InitializePlatformSpecific(arraysize(registers), registers); | 423 data->InitializePlatformSpecific(arraysize(registers), registers); |
424 } | 424 } |
425 } // namespace internal | 425 } // namespace internal |
426 } // namespace v8 | 426 } // namespace v8 |
427 | 427 |
428 #endif // V8_TARGET_ARCH_PPC | 428 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |