diff --git a/runtime/vm/stack_frame.cc b/runtime/vm/stack_frame.cc index f58533ada8f..4912b3c10d6 100644 --- a/runtime/vm/stack_frame.cc +++ b/runtime/vm/stack_frame.cc @@ -190,7 +190,13 @@ const char* StackFrame::ToCString() const { start = bytecode.PayloadStart(); } } +#else + UNREACHABLE(); #endif // defined(DART_DYNAMIC_MODULES) + } else if (IsEntryFrame()) { + name = "[Stub] Entry frame"; + } else if (IsExitFrame()) { + name = "[Stub] Exit frame"; } else { const Code& code = Code::Handle(zone, GetCodeObject()); if (code.IsNull()) {