Index: runtime/vm/stub_code_arm64.cc |
diff --git a/runtime/vm/stub_code_arm64.cc b/runtime/vm/stub_code_arm64.cc |
index fac4ef6be683ebee723a34bcc10a305c0fb1ba7e..ba1b1e6f1d401c13244ada2d458f7cfef77d3230 100644 |
--- a/runtime/vm/stub_code_arm64.cc |
+++ b/runtime/vm/stub_code_arm64.cc |
@@ -3,7 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
#include "vm/globals.h" |
-#if defined(TARGET_ARCH_ARM64) |
+#if defined(TARGET_ARCH_ARM64) && !defined(DART_PRECOMPILED_RUNTIME) |
#include "vm/assembler.h" |
#include "vm/compiler.h" |
@@ -124,13 +124,6 @@ void StubCode::GenerateCallToRuntimeStub(Assembler* assembler) { |
} |
-// Print the stop message. |
-DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, 1, const char* message) { |
- OS::Print("Stop message: %s\n", message); |
-} |
-END_LEAF_RUNTIME_ENTRY |
- |
- |
void StubCode::GeneratePrintStopMessageStub(Assembler* assembler) { |
__ Stop("GeneratePrintStopMessageStub"); |
} |
@@ -2386,4 +2379,4 @@ void StubCode::GenerateAsynchronousGapMarkerStub(Assembler* assembler) { |
} // namespace dart |
-#endif // defined TARGET_ARCH_ARM64 |
+#endif // defined(TARGET_ARCH_ARM64) && !defined(DART_PRECOMPILED_RUNTIME) |