Fix gcc build failures

Introduced by
https://chromium-review.googlesource.com/c/v8/v8/+/2465834.

No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: v8:8661,v8:8768
Change-Id: I3414ede29e5664ea94df2210cd793264fe8fffa6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2484572
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Maya Lekova <mslekova@chromium.org>
Auto-Submit: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70598}
This commit is contained in:
Jakob Gruber 2020-10-19 11:16:47 +02:00 committed by Commit Bot
parent 7f58ced72e
commit 67c0721d9a

View File

@ -58,7 +58,7 @@ class IsolateData final {
return kBuiltinEntryTableOffset - kIsolateRootBias;
}
static constexpr int builtin_entry_slot_offset(Builtins::Name builtin_index) {
DCHECK(Builtins::IsBuiltinId(builtin_index));
CONSTEXPR_DCHECK(Builtins::IsBuiltinId(builtin_index));
return builtin_entry_table_offset() + builtin_index * kSystemPointerSize;
}