| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 3c24f495b20d276c1cc0052b07f9a20ef0a59fca..38a5dee04d104768e8c6ec26cb65287497884029 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -4382,10 +4382,6 @@ MaybeObject* Heap::AllocateArgumentsObject(Object* callee, int length) {
|
| arguments_object_size = kArgumentsObjectSize;
|
| }
|
|
|
| - // This calls Copy directly rather than using Heap::AllocateRaw so we
|
| - // duplicate the check here.
|
| - ASSERT(AllowHeapAllocation::IsAllowed() && gc_state_ == NOT_IN_GC);
|
| -
|
| // Check that the size of the boilerplate matches our
|
| // expectations. The ArgumentsAccessStub::GenerateNewObject relies
|
| // on the size being a known constant.
|
|
|