Index: src/ia32/builtins-ia32.cc |
=================================================================== |
--- src/ia32/builtins-ia32.cc (revision 2832) |
+++ src/ia32/builtins-ia32.cc (working copy) |
@@ -129,10 +129,6 @@ |
// eax: initial map |
__ movzx_b(edi, FieldOperand(eax, Map::kInstanceSizeOffset)); |
__ shl(edi, kPointerSizeLog2); |
- // Make sure that the maximum heap object size will never cause us |
- // problem here, because it is always greater than the maximum |
- // instance size that can be represented in a byte. |
- ASSERT(Heap::MaxObjectSizeInPagedSpace() >= JSObject::kMaxInstanceSize); |
__ AllocateObjectInNewSpace(edi, |
ebx, |
edi, |
@@ -193,8 +189,6 @@ |
// ebx: JSObject |
// edi: start of next object (will be start of FixedArray) |
// edx: number of elements in properties array |
- ASSERT(Heap::MaxObjectSizeInPagedSpace() > |
- (FixedArray::kHeaderSize + 255*kPointerSize)); |
__ AllocateObjectInNewSpace(FixedArray::kHeaderSize, |
times_pointer_size, |
edx, |