OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/code-stubs.h" | 7 #include "src/code-stubs.h" |
8 #include "src/codegen.h" | 8 #include "src/codegen.h" |
9 #include "src/debug.h" | 9 #include "src/debug.h" |
10 #include "src/deoptimizer.h" | 10 #include "src/deoptimizer.h" |
11 #include "src/disasm.h" | 11 #include "src/disasm.h" |
12 #include "src/disassembler.h" | 12 #include "src/disassembler.h" |
13 #include "src/macro-assembler.h" | 13 #include "src/macro-assembler.h" |
14 #include "src/serialize.h" | 14 #include "src/snapshot/serialize.h" |
15 #include "src/string-stream.h" | 15 #include "src/string-stream.h" |
16 | 16 |
17 namespace v8 { | 17 namespace v8 { |
18 namespace internal { | 18 namespace internal { |
19 | 19 |
20 #ifdef ENABLE_DISASSEMBLER | 20 #ifdef ENABLE_DISASSEMBLER |
21 | 21 |
22 class V8NameConverter: public disasm::NameConverter { | 22 class V8NameConverter: public disasm::NameConverter { |
23 public: | 23 public: |
24 explicit V8NameConverter(Code* code) : code_(code) {} | 24 explicit V8NameConverter(Code* code) : code_(code) {} |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 #else // ENABLE_DISASSEMBLER | 289 #else // ENABLE_DISASSEMBLER |
290 | 290 |
291 int Disassembler::Decode(Isolate* isolate, std::ostream* os, byte* begin, | 291 int Disassembler::Decode(Isolate* isolate, std::ostream* os, byte* begin, |
292 byte* end, Code* code) { | 292 byte* end, Code* code) { |
293 return 0; | 293 return 0; |
294 } | 294 } |
295 | 295 |
296 #endif // ENABLE_DISASSEMBLER | 296 #endif // ENABLE_DISASSEMBLER |
297 | 297 |
298 } } // namespace v8::internal | 298 } } // namespace v8::internal |
OLD | NEW |