Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(432)

Unified Diff: runtime/vm/code_generator.cc

Issue 1247783002: Make array allocation stub shared between isolates. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 =

Powered by Google App Engine
This is Rietveld 408576698