Index: src/compiler/representation-change.cc |
diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc |
index 932db0afe853641a293ee5134e81012afca1bc96..2112e2d6244cde1a254c962c535873c42aa38135 100644 |
--- a/src/compiler/representation-change.cc |
+++ b/src/compiler/representation-change.cc |
@@ -663,6 +663,18 @@ const Operator* RepresentationChanger::Uint32OperatorFor( |
} |
} |
+const Operator* RepresentationChanger::Uint32OverflowOperatorFor( |
+ IrOpcode::Value opcode) { |
+ switch (opcode) { |
+ case IrOpcode::kSpeculativeNumberDivide: |
+ return simplified()->CheckedUint32Div(); |
+ case IrOpcode::kSpeculativeNumberModulus: |
+ return simplified()->CheckedUint32Mod(); |
+ default: |
+ UNREACHABLE(); |
+ return nullptr; |
+ } |
+} |
const Operator* RepresentationChanger::Float64OperatorFor( |
IrOpcode::Value opcode) { |