Index: src/compiler/machine-operator-reducer.h |
diff --git a/src/compiler/machine-operator-reducer.h b/src/compiler/machine-operator-reducer.h |
index d8978a4f127db9859d071a9bacc71f48db5a5e8a..92c2337b9b9f5c5757dc5864033555d56f116105 100644 |
--- a/src/compiler/machine-operator-reducer.h |
+++ b/src/compiler/machine-operator-reducer.h |
@@ -34,6 +34,14 @@ 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* Word32Sar(Node* lhs, uint32_t rhs); |
+ Node* Word32Shr(Node* lhs, uint32_t rhs); |
+ Node* Int32Add(Node* lhs, Node* rhs); |
+ Node* Int32Sub(Node* lhs, Node* rhs); |
+ Node* Int32Mul(Node* lhs, Node* rhs); |
+ |
+ Node* TruncatingDiv(Node* dividend, int32_t divisor); |
Reduction ReplaceBool(bool value) { return ReplaceInt32(value ? 1 : 0); } |
Reduction ReplaceFloat32(volatile float value) { |
@@ -49,6 +57,7 @@ class MachineOperatorReducer FINAL : public Reducer { |
return Replace(Int64Constant(value)); |
} |
+ Reduction ReduceInt32Div(Node* node); |
Reduction ReduceInt32Mod(Node* node); |
Reduction ReduceProjection(size_t index, Node* node); |