Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/arm64/simulator-arm64.h

Issue 1867383002: Revert of Fix printf formats (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | src/ast/prettyprinter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #ifndef V8_ARM64_SIMULATOR_ARM64_H_ 5 #ifndef V8_ARM64_SIMULATOR_ARM64_H_
6 #define V8_ARM64_SIMULATOR_ARM64_H_ 6 #define V8_ARM64_SIMULATOR_ARM64_H_
7 7
8 #include <stdarg.h> 8 #include <stdarg.h>
9 #include <vector> 9 #include <vector>
10 10
11 #include "src/allocation.h" 11 #include "src/allocation.h"
12 #include "src/arm64/assembler-arm64.h" 12 #include "src/arm64/assembler-arm64.h"
13 #include "src/arm64/decoder-arm64.h" 13 #include "src/arm64/decoder-arm64.h"
14 #include "src/arm64/disasm-arm64.h" 14 #include "src/arm64/disasm-arm64.h"
15 #include "src/arm64/instrument-arm64.h" 15 #include "src/arm64/instrument-arm64.h"
16 #include "src/assembler.h" 16 #include "src/assembler.h"
17 #include "src/base/compiler-specific.h"
18 #include "src/globals.h" 17 #include "src/globals.h"
19 #include "src/utils.h" 18 #include "src/utils.h"
20 19
21 namespace v8 { 20 namespace v8 {
22 namespace internal { 21 namespace internal {
23 22
24 #if !defined(USE_SIMULATOR) 23 #if !defined(USE_SIMULATOR)
25 24
26 // Running without a simulator on a native ARM64 platform. 25 // Running without a simulator on a native ARM64 platform.
27 // When running without a simulator we call the entry directly. 26 // When running without a simulator we call the entry directly.
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 #endif 787 #endif
789 788
790 // Pseudo Printf instruction 789 // Pseudo Printf instruction
791 void DoPrintf(Instruction* instr); 790 void DoPrintf(Instruction* instr);
792 791
793 // Processor state --------------------------------------- 792 // Processor state ---------------------------------------
794 793
795 // Output stream. 794 // Output stream.
796 FILE* stream_; 795 FILE* stream_;
797 PrintDisassembler* print_disasm_; 796 PrintDisassembler* print_disasm_;
798 void PRINTF_FORMAT(2, 3) TraceSim(const char* format, ...); 797 void PRINTF_METHOD_CHECKING TraceSim(const char* format, ...);
799 798
800 // Instrumentation. 799 // Instrumentation.
801 Instrument* instrument_; 800 Instrument* instrument_;
802 801
803 // General purpose registers. Register 31 is the stack pointer. 802 // General purpose registers. Register 31 is the stack pointer.
804 SimRegister registers_[kNumberOfRegisters]; 803 SimRegister registers_[kNumberOfRegisters];
805 804
806 // Floating point registers 805 // Floating point registers
807 SimFPRegister fpregisters_[kNumberOfFPRegisters]; 806 SimFPRegister fpregisters_[kNumberOfFPRegisters];
808 807
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 Simulator::current(isolate)->PopAddress(); 908 Simulator::current(isolate)->PopAddress();
910 } 909 }
911 }; 910 };
912 911
913 #endif // !defined(USE_SIMULATOR) 912 #endif // !defined(USE_SIMULATOR)
914 913
915 } // namespace internal 914 } // namespace internal
916 } // namespace v8 915 } // namespace v8
917 916
918 #endif // V8_ARM64_SIMULATOR_ARM64_H_ 917 #endif // V8_ARM64_SIMULATOR_ARM64_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/ast/prettyprinter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698