Index: runtime/vm/stub_code_arm64.cc |
diff --git a/runtime/vm/stub_code_arm64.cc b/runtime/vm/stub_code_arm64.cc |
index c5191abed67a4db706f719640651443ced54256f..e5aeb21acd8235c72189f76285b6bf87d7498e55 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) && !defined(DART_PRECOMPILED_RUNTIME) |
+#if defined(TARGET_ARCH_ARM64) |
#include "vm/assembler.h" |
#include "vm/compiler.h" |
@@ -123,6 +123,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 |
+ |
void StubCode::GeneratePrintStopMessageStub(Assembler* assembler) { |
__ Stop("GeneratePrintStopMessageStub"); |
} |
@@ -2316,4 +2322,4 @@ void StubCode::GenerateAsynchronousGapMarkerStub(Assembler* assembler) { |
} // namespace dart |
-#endif // defined(TARGET_ARCH_ARM64) && !defined(DART_PRECOMPILED_RUNTIME) |
+#endif // defined TARGET_ARCH_ARM64 |