Index: runtime/vm/disassembler_arm64.cc |
diff --git a/runtime/vm/disassembler_arm64.cc b/runtime/vm/disassembler_arm64.cc |
index f397db087bd0edfb84f99604eb24db5ec40f305b..49a3e23b25b00273eb8d915d1cd4cd2e9b3ed741 100644 |
--- a/runtime/vm/disassembler_arm64.cc |
+++ b/runtime/vm/disassembler_arm64.cc |
@@ -2,10 +2,11 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+#include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. |
+#if defined(TARGET_ARCH_ARM64) && !defined(DART_PRECOMPILED_RUNTIME) |
+ |
#include "vm/disassembler.h" |
-#include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. |
-#if defined(TARGET_ARCH_ARM64) |
#include "platform/assert.h" |
#include "vm/instructions.h" |
@@ -1504,4 +1505,4 @@ void Disassembler::DecodeInstruction(char* hex_buffer, |
} // namespace dart |
-#endif // defined TARGET_ARCH_ARM |
+#endif // defined(TARGET_ARCH_ARM64) && !defined(DART_PRECOMPILED_RUNTIME) |