Index: src/compiler/common-operator.cc |
diff --git a/src/compiler/common-operator.cc b/src/compiler/common-operator.cc |
index 903484306305abdb4fc010a67a413a48c003cc99..19792bd1da5d2db0d058143668ca4c108429d8c3 100644 |
--- a/src/compiler/common-operator.cc |
+++ b/src/compiler/common-operator.cc |
@@ -137,6 +137,13 @@ const Operator* CommonOperatorBuilder::Int64Constant(int64_t value) { |
} |
+const Operator* CommonOperatorBuilder::Float32Constant(volatile float value) { |
+ return new (zone()) |
+ Operator1<float>(IrOpcode::kFloat32Constant, Operator::kPure, 0, 1, |
+ "Float32Constant", value); |
+} |
+ |
+ |
const Operator* CommonOperatorBuilder::Float64Constant(volatile double value) { |
return new (zone()) |
Operator1<double>(IrOpcode::kFloat64Constant, Operator::kPure, 0, 1, |