diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h index 15adaaac7c..782ff19cb7 100644 --- a/src/compiler/instruction.h +++ b/src/compiler/instruction.h @@ -815,6 +815,9 @@ class Instruction final { DCHECK(output_count == 0 || outputs != nullptr); DCHECK(input_count == 0 || inputs != nullptr); DCHECK(temp_count == 0 || temps != nullptr); + // TODO(jarin/mstarzinger): Handle this gracefully. See crbug.com/582702. + CHECK(InputCountField::is_valid(input_count)); + size_t total_extra_ops = output_count + input_count + temp_count; if (total_extra_ops != 0) total_extra_ops--; int size = static_cast(