Reviewers: Paul Lind, Michael Starzinger,

Message:
PTAL

Description:
[Sheriff] Revert "MIPS: Ensure double aligned allocations through runtime
routines."

This reverts commit r17809 for breaking the build.

[email protected],
BUG=

Please review this at https://codereview.chromium.org/74803002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+0, -4 lines):
  M src/runtime.cc


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;
 }


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to