Index: runtime/vm/snapshot.cc |
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc |
index 6a4371fd7ab42aa325c9ecc3abbf4dd9559b9c92..d6891e27c9ebdc4527c9228ebe39f31db6a8dd2e 100644 |
--- a/runtime/vm/snapshot.cc |
+++ b/runtime/vm/snapshot.cc |
@@ -776,7 +776,7 @@ void AssemblyInstructionsWriter::Write() { |
// 2. Write a label at the entry point. |
owner = code.owner(); |
if (owner.IsNull()) { |
- const char* name = StubCode::NameOfStub(insns.EntryPoint()); |
+ const char* name = StubCode::NameOfStub(insns.UncheckedEntryPoint()); |
assembly_stream_.Print("Precompiled_Stub_%s:\n", name); |
} else if (owner.IsClass()) { |
str = Class::Cast(owner).Name(); |