Commit efec9f46 authored by Tobias Tebbi's avatar Tobias Tebbi Committed by Commit Bot

[build] gcc constexpr workaround in SharedFunctionInfo::kAlignedSize

Change-Id: I5e866163b371446b72f5422bf8cc1816effbec95
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2562387
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Auto-Submit: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71450}
parent d4b29d75
......@@ -610,7 +610,7 @@ class SharedFunctionInfo
static const uint16_t kFunctionTokenOutOfRange = static_cast<uint16_t>(-1);
STATIC_ASSERT(kMaximumFunctionTokenOffset + 1 == kFunctionTokenOutOfRange);
static const int kAlignedSize = SizeFor();
static const int kAlignedSize = OBJECT_POINTER_ALIGN(kSize);
class BodyDescriptor;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment