Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index b08321577a80e4c65f5c0ffe6fe72cf043ac0f08..a7ea29b9f3d2dba5201b1a9888cd0c07114371aa 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -842,11 +842,8 @@ bool LCodeGen::GenerateJumpTable() { |
Deoptimizer::BailoutType type = table_entry->bailout_type; |
Address entry = table_entry->address; |
int id = Deoptimizer::GetDeoptimizationId(isolate(), entry, type); |
- if (id == Deoptimizer::kNotDeoptimizationEntry) { |
- Comment(";;; jump table entry %d.", i); |
- } else { |
- Comment(";;; jump table entry %d: deoptimization bailout %d.", i, id); |
- } |
+ DCHECK_NE(Deoptimizer::kNotDeoptimizationEntry, id); |
+ Comment(";;; jump table entry %d: deoptimization bailout %d.", i, id); |
DeoptComment(table_entry->mnemonic, table_entry->reason); |
// Second-level deopt table entries are contiguous and small, so instead |