Index: runtime/vm/disassembler_arm.cc |
diff --git a/runtime/vm/disassembler_arm.cc b/runtime/vm/disassembler_arm.cc |
index 0058f2944d530ea2ea1616739560bac225b32de8..56f689fe269f62852292fc328b9d95d376fc6bfe 100644 |
--- a/runtime/vm/disassembler_arm.cc |
+++ b/runtime/vm/disassembler_arm.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_ARM. |
+#if defined(TARGET_ARCH_ARM) && !defined(DART_PRECOMPILED_RUNTIME) |
+ |
#include "vm/disassembler.h" |
-#include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
-#if defined(TARGET_ARCH_ARM) |
#include "platform/assert.h" |
#include "vm/cpu.h" |
#include "vm/instructions.h" |
@@ -1542,4 +1543,4 @@ void Disassembler::DecodeInstruction(char* hex_buffer, |
} // namespace dart |
-#endif // defined TARGET_ARCH_ARM |
+#endif // defined(TARGET_ARCH_ARM) && !defined(DART_PRECOMPILED_RUNTIME) |