Index: runtime/vm/stub_code_x64.cc |
diff --git a/runtime/vm/stub_code_x64.cc b/runtime/vm/stub_code_x64.cc |
index e2e3fba8c4a138504693e457d01d69aca4957acd..fd82e95184dc629255bf26cbcd365fa26be04b81 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) && !defined(DART_PRECOMPILED_RUNTIME) |
+#if defined(TARGET_ARCH_X64) |
#include "vm/assembler.h" |
#include "vm/compiler.h" |
@@ -96,6 +96,12 @@ void StubCode::GenerateCallToRuntimeStub(Assembler* assembler) { |
__ ret(); |
} |
+// 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*). |
@@ -2260,4 +2266,4 @@ void StubCode::GenerateAsynchronousGapMarkerStub(Assembler* assembler) { |
} // namespace dart |
-#endif // defined(TARGET_ARCH_X64) && !defined(DART_PRECOMPILED_RUNTIME) |
+#endif // defined TARGET_ARCH_X64 |