Index: src/compiler/representation-change.cc |
diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc |
index 41a98e17dc8b08362c45d671929e94edf71b931a..932db0afe853641a293ee5134e81012afca1bc96 100644 |
--- a/src/compiler/representation-change.cc |
+++ b/src/compiler/representation-change.cc |
@@ -614,10 +614,14 @@ const Operator* RepresentationChanger::Int32OperatorFor( |
const Operator* RepresentationChanger::Int32OverflowOperatorFor( |
IrOpcode::Value opcode) { |
switch (opcode) { |
- case IrOpcode::kSpeculativeNumberAdd: // Fall through. |
+ case IrOpcode::kSpeculativeNumberAdd: |
return simplified()->CheckedInt32Add(); |
- case IrOpcode::kSpeculativeNumberSubtract: // Fall through. |
+ case IrOpcode::kSpeculativeNumberSubtract: |
return simplified()->CheckedInt32Sub(); |
+ case IrOpcode::kSpeculativeNumberDivide: |
+ return simplified()->CheckedInt32Div(); |
+ case IrOpcode::kSpeculativeNumberModulus: |
+ return simplified()->CheckedInt32Mod(); |
default: |
UNREACHABLE(); |
return nullptr; |