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

Unified Diff: runtime/vm/compiler.cc

Issue 1147303002: Support untagged object pool entries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: rebased Created 5 years, 7 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/compiler.cc
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
index 892a2f9fe6d6139826de19565aff03b06569b844..c8176891c61f6081008be1daff0f05ba42148987 100644
--- a/runtime/vm/compiler.cc
+++ b/runtime/vm/compiler.cc
@@ -867,15 +867,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()) {

Powered by Google App Engine
This is Rietveld 408576698