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

Unified Diff: runtime/vm/compiler.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/code_patcher_x64.cc ('k') | runtime/vm/deferred_objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler.cc
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
index 05093ead27a22f6dcc501ef5b0ff15c373a0355c..dfe2c697d1d9946d3d5a7d3680031880a073c6da 100644
--- a/runtime/vm/compiler.cc
+++ b/runtime/vm/compiler.cc
@@ -880,15 +880,8 @@ static void DisassembleCode(const Function& function, bool optimized) {
ISL_Print("}\n");
}
- const Array& object_pool = Array::Handle(code.ObjectPool());
- if (object_pool.Length() > 0) {
- ISL_Print("Object Pool: {\n");
- for (intptr_t i = 0; i < object_pool.Length(); i++) {
- ISL_Print(" %" Pd ": %s\n", i,
- Object::Handle(object_pool.At(i)).ToCString());
- }
- ISL_Print("}\n");
- }
+ const ObjectPool& object_pool = ObjectPool::Handle(code.GetObjectPool());
+ object_pool.DebugPrint();
ISL_Print("Stackmaps for function '%s' {\n", function_fullname);
if (code.stackmaps() != Array::null()) {
« no previous file with comments | « runtime/vm/code_patcher_x64.cc ('k') | runtime/vm/deferred_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698