Index: src/compiler/machine-operator-reducer.h |
diff --git a/src/compiler/machine-operator-reducer.h b/src/compiler/machine-operator-reducer.h |
index 57fcdee8e06a19177a55fd03af6e4833959efc7b..c79ceae204b791af36f9bbfd6a6735f8f2b68744 100644 |
--- a/src/compiler/machine-operator-reducer.h |
+++ b/src/compiler/machine-operator-reducer.h |
@@ -27,11 +27,15 @@ class MachineOperatorReducer FINAL : public Reducer { |
virtual Reduction Reduce(Node* node) OVERRIDE; |
private: |
+ Node* Float32Constant(volatile float value); |
Node* Float64Constant(volatile double value); |
Node* Int32Constant(int32_t value); |
Node* Int64Constant(int64_t value); |
Reduction ReplaceBool(bool value) { return ReplaceInt32(value ? 1 : 0); } |
+ Reduction ReplaceFloat32(volatile float value) { |
+ return Replace(Float32Constant(value)); |
+ } |
Reduction ReplaceFloat64(volatile double value) { |
return Replace(Float64Constant(value)); |
} |