Index: runtime/vm/heap.cc |
=================================================================== |
--- runtime/vm/heap.cc (revision 40735) |
+++ runtime/vm/heap.cc (working copy) |
@@ -373,7 +373,7 @@ |
table->IsValidIndex(cid) && |
table->HasValidClassAt(cid)) { |
const Class& cls = Class::Handle(isolate_, table->At(cid)); |
- cls.SwitchAllocationStub(); |
+ cls.DisableAllocationStub(); |
} |
} |
} |