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

Unified Diff: runtime/vm/assembler_ia32.cc

Issue 365983002: Make isolate specific stub code accessors instance methods instead (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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
« no previous file with comments | « runtime/vm/assembler_arm64.cc ('k') | runtime/vm/assembler_mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_ia32.cc
===================================================================
--- runtime/vm/assembler_ia32.cc (revision 37923)
+++ runtime/vm/assembler_ia32.cc (working copy)
@@ -2141,7 +2141,8 @@
if (object != EAX) {
movl(EAX, object);
}
- call(&StubCode::UpdateStoreBufferLabel());
+ StubCode* stub_code = Isolate::Current()->stub_code();
+ call(&stub_code->UpdateStoreBufferLabel());
if (value != EAX) popl(EAX); // Restore EAX.
Bind(&done);
}
@@ -2509,9 +2510,10 @@
void Assembler::Stop(const char* message) {
if (FLAG_print_stop_message) {
+ StubCode* stub_code = Isolate::Current()->stub_code();
pushl(EAX); // Preserve EAX.
movl(EAX, Immediate(reinterpret_cast<int32_t>(message)));
- call(&StubCode::PrintStopMessageLabel()); // Passing message in EAX.
+ call(&stub_code->PrintStopMessageLabel()); // Passing message in EAX.
popl(EAX); // Restore EAX.
} else {
// Emit the message address as immediate operand in the test instruction.
« no previous file with comments | « runtime/vm/assembler_arm64.cc ('k') | runtime/vm/assembler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698