| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 void CorruptRegisters(CPURegList* list, | 778 void CorruptRegisters(CPURegList* list, |
| 779 uint64_t value = kDefaultCPURegisterCorruptionValue); | 779 uint64_t value = kDefaultCPURegisterCorruptionValue); |
| 780 void CorruptAllCallerSavedCPURegisters(); | 780 void CorruptAllCallerSavedCPURegisters(); |
| 781 #endif | 781 #endif |
| 782 | 782 |
| 783 // Processor state --------------------------------------- | 783 // Processor state --------------------------------------- |
| 784 | 784 |
| 785 // Output stream. | 785 // Output stream. |
| 786 FILE* stream_; | 786 FILE* stream_; |
| 787 PrintDisassembler* print_disasm_; | 787 PrintDisassembler* print_disasm_; |
| 788 void PRINTF_METHOD_CHECKING TraceSim(const char* format, ...); |
| 788 | 789 |
| 789 // Instrumentation. | 790 // Instrumentation. |
| 790 Instrument* instrument_; | 791 Instrument* instrument_; |
| 791 | 792 |
| 792 // General purpose registers. Register 31 is the stack pointer. | 793 // General purpose registers. Register 31 is the stack pointer. |
| 793 SimRegister registers_[kNumberOfRegisters]; | 794 SimRegister registers_[kNumberOfRegisters]; |
| 794 | 795 |
| 795 // Floating point registers | 796 // Floating point registers |
| 796 SimFPRegister fpregisters_[kNumberOfFPRegisters]; | 797 SimFPRegister fpregisters_[kNumberOfFPRegisters]; |
| 797 | 798 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 899 static void UnregisterCTryCatch() { | 900 static void UnregisterCTryCatch() { |
| 900 Simulator::current(Isolate::Current())->PopAddress(); | 901 Simulator::current(Isolate::Current())->PopAddress(); |
| 901 } | 902 } |
| 902 }; | 903 }; |
| 903 | 904 |
| 904 #endif // !defined(USE_SIMULATOR) | 905 #endif // !defined(USE_SIMULATOR) |
| 905 | 906 |
| 906 } } // namespace v8::internal | 907 } } // namespace v8::internal |
| 907 | 908 |
| 908 #endif // V8_ARM64_SIMULATOR_ARM64_H_ | 909 #endif // V8_ARM64_SIMULATOR_ARM64_H_ |
| OLD | NEW |