summaryrefslogtreecommitdiff
path: root/chromium/v8/src/spaces.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/src/spaces.h')
-rw-r--r--chromium/v8/src/spaces.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/chromium/v8/src/spaces.h b/chromium/v8/src/spaces.h
index aa864b66ba5..b47452e421f 100644
--- a/chromium/v8/src/spaces.h
+++ b/chromium/v8/src/spaces.h
@@ -784,9 +784,8 @@ class Page : public MemoryChunk {
// Maximum object size that fits in a page. Objects larger than that size
// are allocated in large object space and are never moved in memory. This
// also applies to new space allocation, since objects are never migrated
- // from new space to large object space. Takes double alignment into account.
- static const int kMaxNonCodeHeapObjectSize =
- kNonCodeObjectAreaSize - kPointerSize;
+ // from new space to large object space.
+ static const int kMaxNonCodeHeapObjectSize = kNonCodeObjectAreaSize;
// Page size mask.
static const intptr_t kPageAlignmentMask = (1 << kPageSizeBits) - 1;