| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 }; | 344 }; |
| 345 int16_t exceptions[kNumExceptions]; | 345 int16_t exceptions[kNumExceptions]; |
| 346 | 346 |
| 347 // Exceptions. | 347 // Exceptions. |
| 348 void SignalExceptions(); | 348 void SignalExceptions(); |
| 349 | 349 |
| 350 // Runtime call support. | 350 // Runtime call support. |
| 351 static void* RedirectExternalReference(void* external_function, | 351 static void* RedirectExternalReference(void* external_function, |
| 352 ExternalReference::Type type); | 352 ExternalReference::Type type); |
| 353 | 353 |
| 354 // For use in calls that take double value arguments. | 354 // Handle arguments and return value for runtime FP functions. |
| 355 void GetFpArgs(double* x, double* y); | 355 void GetFpArgs(double* x, double* y, int32_t* z); |
| 356 void GetFpArgs(double* x); | |
| 357 void GetFpArgs(double* x, int32_t* y); | |
| 358 void SetFpResult(const double& result); | 356 void SetFpResult(const double& result); |
| 359 | 357 |
| 360 void CallInternal(byte* entry); | 358 void CallInternal(byte* entry); |
| 361 | 359 |
| 362 // Architecture state. | 360 // Architecture state. |
| 363 // Registers. | 361 // Registers. |
| 364 int32_t registers_[kNumSimuRegisters]; | 362 int32_t registers_[kNumSimuRegisters]; |
| 365 // Coprocessor Registers. | 363 // Coprocessor Registers. |
| 366 int32_t FPUregisters_[kNumFPURegisters]; | 364 int32_t FPUregisters_[kNumFPURegisters]; |
| 367 // FPU control register. | 365 // FPU control register. |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 | 434 |
| 437 static inline void UnregisterCTryCatch() { | 435 static inline void UnregisterCTryCatch() { |
| 438 Simulator::current(Isolate::Current())->PopAddress(); | 436 Simulator::current(Isolate::Current())->PopAddress(); |
| 439 } | 437 } |
| 440 }; | 438 }; |
| 441 | 439 |
| 442 } } // namespace v8::internal | 440 } } // namespace v8::internal |
| 443 | 441 |
| 444 #endif // !defined(USE_SIMULATOR) | 442 #endif // !defined(USE_SIMULATOR) |
| 445 #endif // V8_MIPS_SIMULATOR_MIPS_H_ | 443 #endif // V8_MIPS_SIMULATOR_MIPS_H_ |
| OLD | NEW |