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

Unified Diff: runtime/vm/stub_code.cc

Issue 1175523002: Object pool with support for untagged entries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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/stack_frame.cc ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code.cc
diff --git a/runtime/vm/stub_code.cc b/runtime/vm/stub_code.cc
index 2f41ba0b4f2285ee9c979a098a74b427e6323f36..38fd62391a7aa19689137751429d770a84474b83 100644
--- a/runtime/vm/stub_code.cc
+++ b/runtime/vm/stub_code.cc
@@ -156,6 +156,9 @@ RawCode* StubCode::GetAllocationStubForClass(const Class& cls) {
DisassembleToStdout formatter;
stub.Disassemble(&formatter);
ISL_Print("}\n");
+ const ObjectPool& object_pool = ObjectPool::Handle(
+ Instructions::Handle(stub.instructions()).object_pool());
+ object_pool.DebugPrint();
}
stub.set_entry_patch_pc_offset(entry_patch_offset);
stub.set_patch_code_pc_offset(patch_code_offset);
@@ -190,6 +193,9 @@ RawCode* StubCode::Generate(const char* name,
DisassembleToStdout formatter;
code.Disassemble(&formatter);
ISL_Print("}\n");
+ const ObjectPool& object_pool = ObjectPool::Handle(
+ Instructions::Handle(code.instructions()).object_pool());
+ object_pool.DebugPrint();
}
return code.raw();
}
« no previous file with comments | « runtime/vm/stack_frame.cc ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698