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