Index: src/compiler/machine-operator-reducer.h |
diff --git a/src/compiler/machine-operator-reducer.h b/src/compiler/machine-operator-reducer.h |
index 11887f52004b0d4a00810fedbbeb1a49b68826d2..8200abbf9573553ad74f259f94d89239f7551244 100644 |
--- a/src/compiler/machine-operator-reducer.h |
+++ b/src/compiler/machine-operator-reducer.h |
@@ -34,7 +34,10 @@ class MachineOperatorReducer FINAL : public Reducer { |
Node* Uint32Constant(uint32_t value) { |
return Int32Constant(bit_cast<uint32_t>(value)); |
} |
- Node* Word32And(Node* lhs, uint32_t rhs); |
+ Node* Word32And(Node* lhs, Node* rhs); |
+ Node* Word32And(Node* lhs, uint32_t rhs) { |
+ return Word32And(lhs, Uint32Constant(rhs)); |
+ } |
Node* Word32Sar(Node* lhs, uint32_t rhs); |
Node* Word32Shr(Node* lhs, uint32_t rhs); |
Node* Word32Equal(Node* lhs, Node* rhs); |
@@ -61,6 +64,7 @@ class MachineOperatorReducer FINAL : public Reducer { |
return Replace(Int64Constant(value)); |
} |
+ Reduction ReduceInt32Add(Node* node); |
Reduction ReduceInt32Div(Node* node); |
Reduction ReduceUint32Div(Node* node); |
Reduction ReduceInt32Mod(Node* node); |