Index: src/compiler/representation-change.h |
diff --git a/src/compiler/representation-change.h b/src/compiler/representation-change.h |
index 3ba5b4e5cb6b670fa6a2370135f208a9d431c583..aaa248eab86f65e29e8284ab091500d4f29abbc7 100644 |
--- a/src/compiler/representation-change.h |
+++ b/src/compiler/representation-change.h |
@@ -235,6 +235,12 @@ class RepresentationChanger { |
return machine()->Int32Add(); |
case IrOpcode::kNumberSubtract: |
return machine()->Int32Sub(); |
+ case IrOpcode::kNumberMultiply: |
+ return machine()->Int32Mul(); |
+ case IrOpcode::kNumberDivide: |
+ return machine()->Int32Div(); |
+ case IrOpcode::kNumberModulus: |
+ return machine()->Int32Mod(); |
case IrOpcode::kNumberEqual: |
return machine()->Word32Equal(); |
case IrOpcode::kNumberLessThan: |
@@ -253,6 +259,12 @@ class RepresentationChanger { |
return machine()->Int32Add(); |
case IrOpcode::kNumberSubtract: |
return machine()->Int32Sub(); |
+ case IrOpcode::kNumberMultiply: |
+ return machine()->Int32Mul(); |
+ case IrOpcode::kNumberDivide: |
+ return machine()->Int32UDiv(); |
+ case IrOpcode::kNumberModulus: |
+ return machine()->Int32UMod(); |
case IrOpcode::kNumberEqual: |
return machine()->Word32Equal(); |
case IrOpcode::kNumberLessThan: |