OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 "platform/assert.h" | |
8 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. | 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
9 #if defined(TARGET_ARCH_ARM) | 8 #if defined(TARGET_ARCH_ARM) |
10 | 9 #include "platform/assert.h" |
11 | 10 |
12 namespace dart { | 11 namespace dart { |
13 | 12 |
14 int Disassembler::DecodeInstruction(char* hex_buffer, intptr_t hex_size, | 13 int Disassembler::DecodeInstruction(char* hex_buffer, intptr_t hex_size, |
15 char* human_buffer, intptr_t human_size, | 14 char* human_buffer, intptr_t human_size, |
16 uword pc) { | 15 uword pc) { |
17 UNIMPLEMENTED(); | 16 UNIMPLEMENTED(); |
18 return 0; | 17 return 0; |
19 } | 18 } |
20 | 19 |
21 | 20 |
22 void Disassembler::Disassemble(uword start, | 21 void Disassembler::Disassemble(uword start, |
23 uword end, | 22 uword end, |
24 DisassemblyFormatter* formatter) { | 23 DisassemblyFormatter* formatter) { |
25 UNIMPLEMENTED(); | 24 UNIMPLEMENTED(); |
26 } | 25 } |
27 | 26 |
28 } // namespace dart | 27 } // namespace dart |
29 | 28 |
30 #endif // defined TARGET_ARCH_ARM | 29 #endif // defined TARGET_ARCH_ARM |
OLD | NEW |