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

Unified Diff: runtime/vm/assembler_arm64.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_arm.cc ('k') | runtime/vm/assembler_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm64.cc
===================================================================
--- runtime/vm/assembler_arm64.cc (revision 37923)
+++ runtime/vm/assembler_arm64.cc (working copy)
@@ -51,9 +51,10 @@
object_pool_index_table_.Insert(ObjIndexPair(Bool::False().raw(), 2));
const Smi& vacant = Smi::Handle(Smi::New(0xfa >> kSmiTagShift));
+ StubCode* stub_code = Isolate::Current()->stub_code();
- if (StubCode::UpdateStoreBuffer_entry() != NULL) {
- FindExternalLabel(&StubCode::UpdateStoreBufferLabel(), kNotPatchable);
+ if (stub_code->UpdateStoreBuffer_entry() != NULL) {
+ FindExternalLabel(&stub_code->UpdateStoreBufferLabel(), kNotPatchable);
} else {
object_pool_.Add(vacant, Heap::kOld);
patchable_pool_entries_.Add(kNotPatchable);
@@ -978,7 +979,8 @@
if (object != R0) {
mov(R0, object);
}
- BranchLink(&StubCode::UpdateStoreBufferLabel(), PP);
+ StubCode* stub_code = Isolate::Current()->stub_code();
+ BranchLink(&stub_code->UpdateStoreBufferLabel(), PP);
Pop(LR);
if (value != R0) {
// Restore R0.
« no previous file with comments | « runtime/vm/assembler_arm.cc ('k') | runtime/vm/assembler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698