Index: src/compiler/machine-operator-reducer.h |
diff --git a/src/compiler/machine-operator-reducer.h b/src/compiler/machine-operator-reducer.h |
index c79ceae204b791af36f9bbfd6a6735f8f2b68744..e40ad65cdc2aadbf41b8570bd88bfaf0d0042e22 100644 |
--- a/src/compiler/machine-operator-reducer.h |
+++ b/src/compiler/machine-operator-reducer.h |
@@ -31,6 +31,9 @@ class MachineOperatorReducer FINAL : public Reducer { |
Node* Float64Constant(volatile double value); |
Node* Int32Constant(int32_t value); |
Node* Int64Constant(int64_t value); |
+ Node* Uint32Constant(uint32_t value) { |
+ return Int32Constant(bit_cast<uint32_t>(value)); |
+ } |
Reduction ReplaceBool(bool value) { return ReplaceInt32(value ? 1 : 0); } |
Reduction ReplaceFloat32(volatile float value) { |