Commit 67c0721d authored by Jakob Gruber's avatar Jakob Gruber Committed by Commit Bot

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: 's avatarMaya Lekova <mslekova@chromium.org>
Auto-Submit: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70598}
parent 7f58ced7
......@@ -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;
}
......
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