Index: runtime/vm/code_generator.cc |
diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc |
index dd977b239684252db484eb32a0e25e3a92e5da2d..9df0f89aa8287fa1c4eda85b646f78aa2c8f5a0a 100644 |
--- a/runtime/vm/code_generator.cc |
+++ b/runtime/vm/code_generator.cc |
@@ -1508,7 +1508,7 @@ DEFINE_RUNTIME_ENTRY(FixAllocationStubTarget, 0) { |
alloc_class ^= stub.owner(); |
Code& alloc_stub = Code::Handle(isolate, alloc_class.allocation_stub()); |
if (alloc_stub.IsNull()) { |
- alloc_stub = isolate->stub_code()->GetAllocationStubForClass(alloc_class); |
+ alloc_stub = StubCode::GetAllocationStubForClass(alloc_class); |
ASSERT(!CodePatcher::IsEntryPatched(alloc_stub)); |
} |
const Instructions& instrs = |