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

Unified Diff: runtime/vm/disassembler.cc

Issue 1764283002: ObjectPool is also used on IA32 for deopt. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/disassembler.cc
diff --git a/runtime/vm/disassembler.cc b/runtime/vm/disassembler.cc
index 948c5fe750faaf91e3c0d55bf9b560c9988f0140..5ba92d94041b1d4ef50ceadd40e324f89d0b486c 100644
--- a/runtime/vm/disassembler.cc
+++ b/runtime/vm/disassembler.cc
@@ -205,14 +205,12 @@ void Disassembler::DisassembleCode(const Function& function, bool optimized) {
code.GetPointerOffsetAt(i), addr, obj.ToCString());
}
THR_Print("}\n");
-
- ASSERT(ObjectPool::Handle(code.GetObjectPool()).Length() == 0);
#else
ASSERT(code.pointer_offsets_length() == 0);
+#endif
const ObjectPool& object_pool = ObjectPool::Handle(code.GetObjectPool());
object_pool.DebugPrint();
-#endif
THR_Print("PC Descriptors for function '%s' {\n", function_fullname);
PcDescriptors::PrintHeaderString();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698