Index: src/x64/stub-cache-x64.cc |
=================================================================== |
--- src/x64/stub-cache-x64.cc (revision 2832) |
+++ src/x64/stub-cache-x64.cc (working copy) |
@@ -1784,9 +1784,6 @@ |
// rbx: initial map |
__ movzxbq(rcx, FieldOperand(rbx, Map::kInstanceSizeOffset)); |
__ shl(rcx, Immediate(kPointerSizeLog2)); |
- // Make sure that the maximum heap object size will never cause us |
- // problems here. |
- ASSERT(Heap::MaxObjectSizeInPagedSpace() >= JSObject::kMaxInstanceSize); |
__ AllocateObjectInNewSpace(rcx, |
rdx, |
rcx, |