| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_ARM64. | |
| 6 #if defined(TARGET_ARCH_ARM64) && !defined(DART_PRECOMPILED_RUNTIME) | |
| 7 | |
| 8 #include "vm/disassembler.h" | 5 #include "vm/disassembler.h" |
| 9 | 6 |
| 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. |
| 8 #if defined(TARGET_ARCH_ARM64) |
| 10 #include "platform/assert.h" | 9 #include "platform/assert.h" |
| 11 #include "vm/instructions.h" | 10 #include "vm/instructions.h" |
| 12 | 11 |
| 13 namespace dart { | 12 namespace dart { |
| 14 | 13 |
| 15 #ifndef PRODUCT | 14 #ifndef PRODUCT |
| 16 | 15 |
| 17 class ARM64Decoder : public ValueObject { | 16 class ARM64Decoder : public ValueObject { |
| 18 public: | 17 public: |
| 19 ARM64Decoder(char* buffer, size_t buffer_size) | 18 ARM64Decoder(char* buffer, size_t buffer_size) |
| (...skipping 1422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1442 if (!DecodeLoadObjectFromPoolOrThread(pc, code, *object)) { | 1441 if (!DecodeLoadObjectFromPoolOrThread(pc, code, *object)) { |
| 1443 *object = NULL; | 1442 *object = NULL; |
| 1444 } | 1443 } |
| 1445 } | 1444 } |
| 1446 } | 1445 } |
| 1447 | 1446 |
| 1448 #endif // !PRODUCT | 1447 #endif // !PRODUCT |
| 1449 | 1448 |
| 1450 } // namespace dart | 1449 } // namespace dart |
| 1451 | 1450 |
| 1452 #endif // defined(TARGET_ARCH_ARM64) && !defined(DART_PRECOMPILED_RUNTIME) | 1451 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |