Index: runtime/vm/disassembler_x64.cc |
diff --git a/runtime/vm/disassembler_x64.cc b/runtime/vm/disassembler_x64.cc |
index 657fbc07fb07fbac75a73265d40c780b59aa97ee..38b7fa7c77847f870f4f59dea19b6e92999efd2f 100644 |
--- a/runtime/vm/disassembler_x64.cc |
+++ b/runtime/vm/disassembler_x64.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_IA32. |
+#if defined(TARGET_ARCH_X64) && !defined(DART_PRECOMPILED_RUNTIME) |
+ |
#include "vm/disassembler.h" |
-#include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. |
-#if defined(TARGET_ARCH_X64) |
#include "platform/utils.h" |
#include "vm/allocation.h" |
#include "vm/heap.h" |
@@ -1941,4 +1942,4 @@ void Disassembler::DecodeInstruction(char* hex_buffer, |
} // namespace dart |
-#endif // defined TARGET_ARCH_X64 |
+#endif // defined(TARGET_ARCH_X64) && !defined(DART_PRECOMPILED_RUNTIME) |