diff options
Diffstat (limited to 'compiler/optimizing/ssa_liveness_analysis.cc')
-rw-r--r-- | compiler/optimizing/ssa_liveness_analysis.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/optimizing/ssa_liveness_analysis.cc b/compiler/optimizing/ssa_liveness_analysis.cc index b36ccbe02b..317e0999d7 100644 --- a/compiler/optimizing/ssa_liveness_analysis.cc +++ b/compiler/optimizing/ssa_liveness_analysis.cc @@ -496,8 +496,7 @@ size_t LiveInterval::NumberOfSpillSlotsNeeded() const { if (definition->IsPhi()) { definition = definition->InputAt(1); // SIMD always appears on back-edge } - // TODO: Remove "OrNull". - return definition->AsVecOperationOrNull()->GetVectorNumberOfBytes() / kVRegSize; + return definition->AsVecOperation()->GetVectorNumberOfBytes() / kVRegSize; } // Return number of needed spill slots based on type. return (type_ == DataType::Type::kInt64 || type_ == DataType::Type::kFloat64) ? 2 : 1; |