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