| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 1001fe21f54b8587359f81a7e839d919c003b230..28506dde49a11cd6aa9d6c91ab5ce21e22301f64 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -9786,7 +9786,6 @@ static MaybeObject* Allocate(Isolate* isolate,
|
| bool double_align,
|
| AllocationSpace space) {
|
| Heap* heap = isolate->heap();
|
| - if (double_align) size += kPointerSize;
|
| RUNTIME_ASSERT(IsAligned(size, kPointerSize));
|
| RUNTIME_ASSERT(size > 0);
|
| RUNTIME_ASSERT(size <= heap->MaxRegularSpaceAllocationSize());
|
| @@ -9798,9 +9797,6 @@ static MaybeObject* Allocate(Isolate* isolate,
|
| MemoryChunk* chunk = MemoryChunk::FromAddress(allocation->address());
|
| ASSERT(chunk->owner()->identity() == space);
|
| #endif
|
| - if (double_align) {
|
| - allocation = heap->EnsureDoubleAligned(allocation, size);
|
| - }
|
| heap->CreateFillerObjectAt(allocation->address(), size);
|
| return allocation;
|
| }
|
|
|