OLD | NEW |
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_DISASM_ARM64_H | 5 #ifndef V8_ARM64_DISASM_ARM64_H |
6 #define V8_ARM64_DISASM_ARM64_H | 6 #define V8_ARM64_DISASM_ARM64_H |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
| 10 #include "src/arm64/decoder-arm64.h" |
| 11 #include "src/arm64/instructions-arm64.h" |
10 #include "src/globals.h" | 12 #include "src/globals.h" |
11 #include "src/utils.h" | 13 #include "src/utils.h" |
12 #include "src/arm64/instructions-arm64.h" | |
13 #include "src/arm64/decoder-arm64.h" | |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 | 17 |
18 | 18 |
19 class Disassembler: public DecoderVisitor { | 19 class Disassembler: public DecoderVisitor { |
20 public: | 20 public: |
21 Disassembler(); | 21 Disassembler(); |
22 Disassembler(char* text_buffer, int buffer_size); | 22 Disassembler(char* text_buffer, int buffer_size); |
23 virtual ~Disassembler(); | 23 virtual ~Disassembler(); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 virtual void ProcessOutput(Instruction* instr); | 83 virtual void ProcessOutput(Instruction* instr); |
84 | 84 |
85 private: | 85 private: |
86 FILE *stream_; | 86 FILE *stream_; |
87 }; | 87 }; |
88 | 88 |
89 | 89 |
90 } } // namespace v8::internal | 90 } } // namespace v8::internal |
91 | 91 |
92 #endif // V8_ARM64_DISASM_ARM64_H | 92 #endif // V8_ARM64_DISASM_ARM64_H |
OLD | NEW |