OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 static void CheckICache(v8::internal::HashMap* i_cache, Instruction* instr); | 341 static void CheckICache(v8::internal::HashMap* i_cache, Instruction* instr); |
342 static void FlushOnePage(v8::internal::HashMap* i_cache, intptr_t start, | 342 static void FlushOnePage(v8::internal::HashMap* i_cache, intptr_t start, |
343 int size); | 343 int size); |
344 static CachePage* GetCachePage(v8::internal::HashMap* i_cache, void* page); | 344 static CachePage* GetCachePage(v8::internal::HashMap* i_cache, void* page); |
345 | 345 |
346 // Runtime call support. | 346 // Runtime call support. |
347 static void* RedirectExternalReference( | 347 static void* RedirectExternalReference( |
348 void* external_function, | 348 void* external_function, |
349 v8::internal::ExternalReference::Type type); | 349 v8::internal::ExternalReference::Type type); |
350 | 350 |
351 // Handle arguments and return value for runtime FP functions. | 351 // For use in calls that take double value arguments. |
352 void GetFpArgs(double* x, double* y, int32_t* z); | 352 void GetFpArgs(double* x, double* y); |
| 353 void GetFpArgs(double* x); |
| 354 void GetFpArgs(double* x, int32_t* y); |
353 void SetFpResult(const double& result); | 355 void SetFpResult(const double& result); |
354 void TrashCallerSaveRegisters(); | 356 void TrashCallerSaveRegisters(); |
355 | 357 |
356 template<class ReturnType, int register_size> | 358 template<class ReturnType, int register_size> |
357 ReturnType GetFromVFPRegister(int reg_index); | 359 ReturnType GetFromVFPRegister(int reg_index); |
358 | 360 |
359 template<class InputType, int register_size> | 361 template<class InputType, int register_size> |
360 void SetVFPRegister(int reg_index, const InputType& value); | 362 void SetVFPRegister(int reg_index, const InputType& value); |
361 | 363 |
362 void CallInternal(byte* entry); | 364 void CallInternal(byte* entry); |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 | 461 |
460 static inline void UnregisterCTryCatch() { | 462 static inline void UnregisterCTryCatch() { |
461 Simulator::current(Isolate::Current())->PopAddress(); | 463 Simulator::current(Isolate::Current())->PopAddress(); |
462 } | 464 } |
463 }; | 465 }; |
464 | 466 |
465 } } // namespace v8::internal | 467 } } // namespace v8::internal |
466 | 468 |
467 #endif // !defined(USE_SIMULATOR) | 469 #endif // !defined(USE_SIMULATOR) |
468 #endif // V8_ARM_SIMULATOR_ARM_H_ | 470 #endif // V8_ARM_SIMULATOR_ARM_H_ |
OLD | NEW |