| 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 "v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "code-stubs.h" | 7 #include "src/code-stubs.h" |
| 8 #include "codegen.h" | 8 #include "src/codegen.h" |
| 9 #include "debug.h" | 9 #include "src/debug.h" |
| 10 #include "deoptimizer.h" | 10 #include "src/deoptimizer.h" |
| 11 #include "disasm.h" | 11 #include "src/disasm.h" |
| 12 #include "disassembler.h" | 12 #include "src/disassembler.h" |
| 13 #include "macro-assembler.h" | 13 #include "src/macro-assembler.h" |
| 14 #include "serialize.h" | 14 #include "src/serialize.h" |
| 15 #include "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 void Disassembler::Dump(FILE* f, byte* begin, byte* end) { | 22 void Disassembler::Dump(FILE* f, byte* begin, byte* end) { |
| 23 for (byte* pc = begin; pc < end; pc++) { | 23 for (byte* pc = begin; pc < end; pc++) { |
| 24 if (f == NULL) { | 24 if (f == NULL) { |
| 25 PrintF("%" V8PRIxPTR " %4" V8PRIdPTR " %02x\n", | 25 PrintF("%" V8PRIxPTR " %4" V8PRIdPTR " %02x\n", |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 int Disassembler::Decode(Isolate* isolate, FILE* f, byte* begin, byte* end) { | 335 int Disassembler::Decode(Isolate* isolate, FILE* f, byte* begin, byte* end) { |
| 336 return 0; | 336 return 0; |
| 337 } | 337 } |
| 338 | 338 |
| 339 | 339 |
| 340 void Disassembler::Decode(FILE* f, Code* code) {} | 340 void Disassembler::Decode(FILE* f, Code* code) {} |
| 341 | 341 |
| 342 #endif // ENABLE_DISASSEMBLER | 342 #endif // ENABLE_DISASSEMBLER |
| 343 | 343 |
| 344 } } // namespace v8::internal | 344 } } // namespace v8::internal |
| OLD | NEW |