OLD | NEW |
1 // Copyright (c) 2013, 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/globals.h" // Needed here to get TARGET_ARCH_ARM. |
| 6 #if defined(TARGET_ARCH_ARM) && !defined(DART_PRECOMPILED_RUNTIME) |
| 7 |
5 #include "vm/disassembler.h" | 8 #include "vm/disassembler.h" |
6 | 9 |
7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. | |
8 #if defined(TARGET_ARCH_ARM) | |
9 #include "platform/assert.h" | 10 #include "platform/assert.h" |
10 #include "vm/cpu.h" | 11 #include "vm/cpu.h" |
11 #include "vm/instructions.h" | 12 #include "vm/instructions.h" |
12 | 13 |
13 namespace dart { | 14 namespace dart { |
14 | 15 |
15 #ifndef PRODUCT | 16 #ifndef PRODUCT |
16 | 17 |
17 class ARMDecoder : public ValueObject { | 18 class ARMDecoder : public ValueObject { |
18 public: | 19 public: |
(...skipping 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1535 if (!DecodeLoadObjectFromPoolOrThread(pc, code, *object)) { | 1536 if (!DecodeLoadObjectFromPoolOrThread(pc, code, *object)) { |
1536 *object = NULL; | 1537 *object = NULL; |
1537 } | 1538 } |
1538 } | 1539 } |
1539 } | 1540 } |
1540 | 1541 |
1541 #endif // !PRODUCT | 1542 #endif // !PRODUCT |
1542 | 1543 |
1543 } // namespace dart | 1544 } // namespace dart |
1544 | 1545 |
1545 #endif // defined TARGET_ARCH_ARM | 1546 #endif // defined(TARGET_ARCH_ARM) && !defined(DART_PRECOMPILED_RUNTIME) |
OLD | NEW |