OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "vm/disassembler.h" | 5 #include "vm/disassembler.h" |
6 | 6 |
7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. | 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
8 #if defined(TARGET_ARCH_ARM) | 8 #if defined(TARGET_ARCH_ARM) |
9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
10 | 10 |
11 namespace dart { | 11 namespace dart { |
12 | 12 |
13 int Disassembler::DecodeInstruction(char* hex_buffer, intptr_t hex_size, | 13 int Disassembler::DecodeInstruction(char* hex_buffer, intptr_t hex_size, |
14 char* human_buffer, intptr_t human_size, | 14 char* human_buffer, intptr_t human_size, |
15 uword pc) { | 15 uword pc) { |
16 UNIMPLEMENTED(); | 16 UNIMPLEMENTED(); |
17 return 0; | 17 return 0; |
18 } | 18 } |
19 | 19 |
20 | 20 |
21 void Disassembler::Disassemble(uword start, | 21 void Disassembler::Disassemble(uword start, |
22 uword end, | 22 uword end, |
23 DisassemblyFormatter* formatter) { | 23 DisassemblyFormatter* formatter, |
| 24 const Code::Comments& comments) { |
24 UNIMPLEMENTED(); | 25 UNIMPLEMENTED(); |
25 } | 26 } |
26 | 27 |
27 } // namespace dart | 28 } // namespace dart |
28 | 29 |
29 #endif // defined TARGET_ARCH_ARM | 30 #endif // defined TARGET_ARCH_ARM |
OLD | NEW |