| Index: src/compiler/graph-unittest.cc
|
| diff --git a/src/compiler/graph-unittest.cc b/src/compiler/graph-unittest.cc
|
| index f7faa6de29da447790f61dda238ffb0b688a1e8d..8de6224e03a9295f5cc9acc86e0500380f0d43b9 100644
|
| --- a/src/compiler/graph-unittest.cc
|
| +++ b/src/compiler/graph-unittest.cc
|
| @@ -664,6 +664,12 @@ Matcher<Node*> IsInt64Constant(const Matcher<int64_t>& value_matcher) {
|
| }
|
|
|
|
|
| +Matcher<Node*> IsFloat32Constant(const Matcher<float>& value_matcher) {
|
| + return MakeMatcher(
|
| + new IsConstantMatcher<float>(IrOpcode::kFloat32Constant, value_matcher));
|
| +}
|
| +
|
| +
|
| Matcher<Node*> IsFloat64Constant(const Matcher<double>& value_matcher) {
|
| return MakeMatcher(
|
| new IsConstantMatcher<double>(IrOpcode::kFloat64Constant, value_matcher));
|
|
|