OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_S390 | 5 #if V8_TARGET_ARCH_S390 |
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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 r6, // call_data | 324 r6, // call_data |
325 r4, // holder | 325 r4, // holder |
326 r3, // api_function_address | 326 r3, // api_function_address |
327 }; | 327 }; |
328 data->InitializePlatformSpecific(arraysize(registers), registers); | 328 data->InitializePlatformSpecific(arraysize(registers), registers); |
329 } | 329 } |
330 | 330 |
331 void InterpreterDispatchDescriptor::InitializePlatformSpecific( | 331 void InterpreterDispatchDescriptor::InitializePlatformSpecific( |
332 CallInterfaceDescriptorData* data) { | 332 CallInterfaceDescriptorData* data) { |
333 Register registers[] = { | 333 Register registers[] = { |
334 kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister, | 334 kInterpreterAccumulatorRegister, kInterpreterBytecodeOffsetRegister, |
335 kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister, | 335 kInterpreterBytecodeArrayRegister, kInterpreterDispatchTableRegister}; |
336 kInterpreterDispatchTableRegister}; | |
337 data->InitializePlatformSpecific(arraysize(registers), registers); | 336 data->InitializePlatformSpecific(arraysize(registers), registers); |
338 } | 337 } |
339 | 338 |
340 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( | 339 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( |
341 CallInterfaceDescriptorData* data) { | 340 CallInterfaceDescriptorData* data) { |
342 Register registers[] = { | 341 Register registers[] = { |
343 r2, // argument count (not including receiver) | 342 r2, // argument count (not including receiver) |
344 r4, // address of first argument | 343 r4, // address of first argument |
345 r3 // the target callable to be call | 344 r3 // the target callable to be call |
346 }; | 345 }; |
(...skipping 28 matching lines...) Expand all Loading... |
375 r3, // the JSGeneratorObject to resume | 374 r3, // the JSGeneratorObject to resume |
376 r4 // the resume mode (tagged) | 375 r4 // the resume mode (tagged) |
377 }; | 376 }; |
378 data->InitializePlatformSpecific(arraysize(registers), registers); | 377 data->InitializePlatformSpecific(arraysize(registers), registers); |
379 } | 378 } |
380 | 379 |
381 } // namespace internal | 380 } // namespace internal |
382 } // namespace v8 | 381 } // namespace v8 |
383 | 382 |
384 #endif // V8_TARGET_ARCH_S390 | 383 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |