Index: runtime/vm/stub_code_arm.cc |
diff --git a/runtime/vm/stub_code_arm.cc b/runtime/vm/stub_code_arm.cc |
index 52cf06f78baafe84b439b89292ed4e63fe6b15f3..12210a268deb008ac9ec4eac6b30b6c8ba58d0c3 100644 |
--- a/runtime/vm/stub_code_arm.cc |
+++ b/runtime/vm/stub_code_arm.cc |
@@ -3,7 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
#include "vm/globals.h" |
-#if defined(TARGET_ARCH_ARM) && !defined(DART_PRECOMPILED_RUNTIME) |
+#if defined(TARGET_ARCH_ARM) |
#include "vm/assembler.h" |
#include "vm/compiler.h" |
@@ -103,6 +103,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: |
// R0 : stop message (const char*). |
// Must preserve all registers. |
@@ -2265,4 +2271,4 @@ void StubCode::GenerateAsynchronousGapMarkerStub(Assembler* assembler) { |
} // namespace dart |
-#endif // defined(TARGET_ARCH_ARM) && !defined(DART_PRECOMPILED_RUNTIME) |
+#endif // defined TARGET_ARCH_ARM |