diff --git a/src/execution/isolate-data.h b/src/execution/isolate-data.h index f01be3e9c9..c875d92f09 100644 --- a/src/execution/isolate-data.h +++ b/src/execution/isolate-data.h @@ -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; }