OLD | NEW |
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 #if V8_TARGET_ARCH_MIPS64 | 5 #if V8_TARGET_ARCH_MIPS64 |
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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 a4, // call_data | 369 a4, // call_data |
370 a2, // holder | 370 a2, // holder |
371 a1, // api_function_address | 371 a1, // api_function_address |
372 }; | 372 }; |
373 data->InitializePlatformSpecific(arraysize(registers), registers); | 373 data->InitializePlatformSpecific(arraysize(registers), registers); |
374 } | 374 } |
375 | 375 |
376 void InterpreterDispatchDescriptor::InitializePlatformSpecific( | 376 void InterpreterDispatchDescriptor::InitializePlatformSpecific( |
377 CallInterfaceDescriptorData* data) { | 377 CallInterfaceDescriptorData* data) { |
378 Register registers[] = { | 378 Register registers[] = { |
379 kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister, | 379 kInterpreterAccumulatorRegister, kInterpreterBytecodeOffsetRegister, |
380 kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister, | 380 kInterpreterBytecodeArrayRegister, kInterpreterDispatchTableRegister}; |
381 kInterpreterDispatchTableRegister}; | |
382 data->InitializePlatformSpecific(arraysize(registers), registers); | 381 data->InitializePlatformSpecific(arraysize(registers), registers); |
383 } | 382 } |
384 | 383 |
385 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( | 384 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( |
386 CallInterfaceDescriptorData* data) { | 385 CallInterfaceDescriptorData* data) { |
387 Register registers[] = { | 386 Register registers[] = { |
388 a0, // argument count (not including receiver) | 387 a0, // argument count (not including receiver) |
389 a2, // address of first argument | 388 a2, // address of first argument |
390 a1 // the target callable to be call | 389 a1 // the target callable to be call |
391 }; | 390 }; |
(...skipping 28 matching lines...) Expand all Loading... |
420 a1, // the JSGeneratorObject to resume | 419 a1, // the JSGeneratorObject to resume |
421 a2 // the resume mode (tagged) | 420 a2 // the resume mode (tagged) |
422 }; | 421 }; |
423 data->InitializePlatformSpecific(arraysize(registers), registers); | 422 data->InitializePlatformSpecific(arraysize(registers), registers); |
424 } | 423 } |
425 | 424 |
426 } // namespace internal | 425 } // namespace internal |
427 } // namespace v8 | 426 } // namespace v8 |
428 | 427 |
429 #endif // V8_TARGET_ARCH_MIPS64 | 428 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |