Index: runtime/vm/stub_code_x64.cc |
diff --git a/runtime/vm/stub_code_x64.cc b/runtime/vm/stub_code_x64.cc |
index 95874ca8b111a54cd24448d77a231aea04b7faa4..087d31c83ee1f12723c741ca9f6a59b560c16fc5 100644 |
--- a/runtime/vm/stub_code_x64.cc |
+++ b/runtime/vm/stub_code_x64.cc |
@@ -3,7 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
#include "vm/globals.h" |
-#if defined(TARGET_ARCH_X64) |
+#if defined(TARGET_ARCH_X64) && !defined(DART_PRECOMPILED_RUNTIME) |
#include "vm/assembler.h" |
#include "vm/compiler.h" |
@@ -97,13 +97,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 |
- |
- |
// Input parameters: |
// RSP : points to return address. |
// RDI : stop message (const char*). |
@@ -2329,4 +2322,4 @@ void StubCode::GenerateAsynchronousGapMarkerStub(Assembler* assembler) { |
} // namespace dart |
-#endif // defined TARGET_ARCH_X64 |
+#endif // defined(TARGET_ARCH_X64) && !defined(DART_PRECOMPILED_RUNTIME) |