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

Unified Diff: runtime/vm/code_patcher_ia32_test.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_patcher_ia32_test.cc
diff --git a/runtime/vm/code_patcher_ia32_test.cc b/runtime/vm/code_patcher_ia32_test.cc
index c0321e8856101fc29b6ae5caf14b4c0084cae1af..a1b77890f1b37b7a571639c7cfe26cbeb6a37981 100644
--- a/runtime/vm/code_patcher_ia32_test.cc
+++ b/runtime/vm/code_patcher_ia32_test.cc
@@ -40,8 +40,7 @@ ASSEMBLER_TEST_GENERATE(IcDataAccess, assembler) {
1));
__ LoadObject(ECX, ic_data);
- StubCode* stub_code = Isolate::Current()->stub_code();
- ExternalLabel target_label(stub_code->OneArgCheckInlineCacheEntryPoint());
+ ExternalLabel target_label(StubCode::OneArgCheckInlineCacheEntryPoint());
__ call(&target_label);
__ ret();
}

Powered by Google App Engine
This is Rietveld 408576698