Index: runtime/vm/code_generator.cc |
diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc |
index 37188b64b9a325da84a56725f5bc477dafefc927..6de22b790f1e574b56e23a5b9e05608226cb15d6 100644 |
--- a/runtime/vm/code_generator.cc |
+++ b/runtime/vm/code_generator.cc |
@@ -1572,6 +1572,7 @@ DEFINE_RUNTIME_ENTRY(FixCallersTarget, 0) { |
// The caller tried to allocate an instance via an invalidated allocation |
// stub. |
DEFINE_RUNTIME_ENTRY(FixAllocationStubTarget, 0) { |
+#if !defined(DART_PRECOMPILED_RUNTIME) |
StackFrameIterator iterator(StackFrameIterator::kDontValidateFrames); |
StackFrame* frame = iterator.NextFrame(); |
ASSERT(frame != NULL); |
@@ -1607,6 +1608,9 @@ DEFINE_RUNTIME_ENTRY(FixAllocationStubTarget, 0) { |
alloc_stub.EntryPoint()); |
} |
arguments.SetReturn(alloc_stub); |
+#else |
+ UNREACHABLE(); |
+#endif |
} |