OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 <stdlib.h> | 5 #include <stdlib.h> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #include "src/debug/debug.h" | 9 #include "src/debug/debug.h" |
10 #include "src/disasm.h" | 10 #include "src/disasm.h" |
11 #include "src/disassembler.h" | 11 #include "src/disassembler.h" |
12 #include "src/ia32/frames-ia32.h" | |
13 #include "src/ic/ic.h" | 12 #include "src/ic/ic.h" |
14 #include "src/macro-assembler.h" | 13 #include "src/macro-assembler.h" |
| 14 #include "src/x87/frames-x87.h" |
15 #include "test/cctest/cctest.h" | 15 #include "test/cctest/cctest.h" |
16 #include "test/cctest/compiler/c-signature.h" | 16 #include "test/cctest/compiler/c-signature.h" |
17 #include "test/cctest/compiler/call-tester.h" | 17 #include "test/cctest/compiler/call-tester.h" |
18 | 18 |
19 using namespace v8::internal; | 19 using namespace v8::internal; |
20 using namespace v8::internal::compiler; | 20 using namespace v8::internal::compiler; |
21 | 21 |
22 #define __ assm. | 22 #define __ assm. |
23 | 23 |
24 static int32_t DummyStaticFunction(Object* result) { return 1; } | 24 static int32_t DummyStaticFunction(Object* result) { return 1; } |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 #ifdef OBJECT_PRINT | 80 #ifdef OBJECT_PRINT |
81 // OFStream os(stdout); | 81 // OFStream os(stdout); |
82 code->Print(os); | 82 code->Print(os); |
83 begin = code->instruction_start(); | 83 begin = code->instruction_start(); |
84 end = begin + code->instruction_size(); | 84 end = begin + code->instruction_size(); |
85 disasm::Disassembler::Disassemble(stdout, begin, end); | 85 disasm::Disassembler::Disassemble(stdout, begin, end); |
86 #endif | 86 #endif |
87 } | 87 } |
88 | 88 |
89 #undef __ | 89 #undef __ |
OLD | NEW |