| 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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 }; | 316 }; |
| 317 int16_t exceptions[kNumExceptions]; | 317 int16_t exceptions[kNumExceptions]; |
| 318 | 318 |
| 319 // Exceptions. | 319 // Exceptions. |
| 320 void SignalExceptions(); | 320 void SignalExceptions(); |
| 321 | 321 |
| 322 // Runtime call support. | 322 // Runtime call support. |
| 323 static void* RedirectExternalReference(void* external_function, | 323 static void* RedirectExternalReference(void* external_function, |
| 324 ExternalReference::Type type); | 324 ExternalReference::Type type); |
| 325 | 325 |
| 326 // Used for real time calls that takes two double values as arguments and | 326 // For use in calls that take double value arguments. |
| 327 // returns a double. | 327 void GetFpArgs(double* x, double* y); |
| 328 void SetFpResult(double result); | 328 void GetFpArgs(double* x); |
| 329 void GetFpArgs(double* x, int32_t* y); |
| 330 void SetFpResult(const double& result); |
| 331 |
| 329 | 332 |
| 330 // Architecture state. | 333 // Architecture state. |
| 331 // Registers. | 334 // Registers. |
| 332 int32_t registers_[kNumSimuRegisters]; | 335 int32_t registers_[kNumSimuRegisters]; |
| 333 // Coprocessor Registers. | 336 // Coprocessor Registers. |
| 334 int32_t FPUregisters_[kNumFPURegisters]; | 337 int32_t FPUregisters_[kNumFPURegisters]; |
| 335 // FPU control register. | 338 // FPU control register. |
| 336 uint32_t FCSR_; | 339 uint32_t FCSR_; |
| 337 | 340 |
| 338 // Simulator support. | 341 // Simulator support. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 static inline void UnregisterCTryCatch() { | 392 static inline void UnregisterCTryCatch() { |
| 390 Simulator::current(Isolate::Current())->PopAddress(); | 393 Simulator::current(Isolate::Current())->PopAddress(); |
| 391 } | 394 } |
| 392 }; | 395 }; |
| 393 | 396 |
| 394 } } // namespace v8::internal | 397 } } // namespace v8::internal |
| 395 | 398 |
| 396 #endif // !defined(USE_SIMULATOR) | 399 #endif // !defined(USE_SIMULATOR) |
| 397 #endif // V8_MIPS_SIMULATOR_MIPS_H_ | 400 #endif // V8_MIPS_SIMULATOR_MIPS_H_ |
| 398 | 401 |
| OLD | NEW |