ObjectPool is also used on IA32 for deopt.

R=fschneider@google.com

Review URL: https://codereview.chromium.org/1764283002 .
This commit is contained in:
Ryan Macnak 2016-03-04 12:33:33 -08:00
parent 32abe2ce55
commit 10f5ae69e8

View file

@ -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();