Index: test/unittests/compiler/node-test-utils.cc |
diff --git a/test/unittests/compiler/node-test-utils.cc b/test/unittests/compiler/node-test-utils.cc |
index 46ca540287e4efbd93fe0f527de703a95f191b08..6f00c37961132aee30f7f7af1ef5dcced64d6dda 100644 |
--- a/test/unittests/compiler/node-test-utils.cc |
+++ b/test/unittests/compiler/node-test-utils.cc |
@@ -403,15 +403,13 @@ class IsLoadElementMatcher FINAL : public NodeMatcher { |
const Matcher<Node*>& base_matcher, |
const Matcher<Node*>& index_matcher, |
const Matcher<Node*>& length_matcher, |
- const Matcher<Node*>& effect_matcher, |
- const Matcher<Node*>& control_matcher) |
+ const Matcher<Node*>& effect_matcher) |
: NodeMatcher(IrOpcode::kLoadElement), |
access_matcher_(access_matcher), |
base_matcher_(base_matcher), |
index_matcher_(index_matcher), |
length_matcher_(length_matcher), |
- effect_matcher_(effect_matcher), |
- control_matcher_(control_matcher) {} |
+ effect_matcher_(effect_matcher) {} |
virtual void DescribeTo(std::ostream* os) const OVERRIDE { |
NodeMatcher::DescribeTo(os); |
@@ -423,10 +421,8 @@ class IsLoadElementMatcher FINAL : public NodeMatcher { |
index_matcher_.DescribeTo(os); |
*os << "), length ("; |
length_matcher_.DescribeTo(os); |
- *os << "), effect ("; |
+ *os << ") and effect ("; |
effect_matcher_.DescribeTo(os); |
- *os << ") and control ("; |
- control_matcher_.DescribeTo(os); |
*os << ")"; |
} |
@@ -442,9 +438,7 @@ class IsLoadElementMatcher FINAL : public NodeMatcher { |
PrintMatchAndExplain(NodeProperties::GetValueInput(node, 2), |
"length", length_matcher_, listener) && |
PrintMatchAndExplain(NodeProperties::GetEffectInput(node), "effect", |
- effect_matcher_, listener) && |
- PrintMatchAndExplain(NodeProperties::GetControlInput(node), |
- "control", control_matcher_, listener)); |
+ effect_matcher_, listener)); |
} |
private: |
@@ -453,7 +447,6 @@ class IsLoadElementMatcher FINAL : public NodeMatcher { |
const Matcher<Node*> index_matcher_; |
const Matcher<Node*> length_matcher_; |
const Matcher<Node*> effect_matcher_; |
- const Matcher<Node*> control_matcher_; |
}; |
@@ -813,11 +806,10 @@ Matcher<Node*> IsLoadElement(const Matcher<ElementAccess>& access_matcher, |
const Matcher<Node*>& base_matcher, |
const Matcher<Node*>& index_matcher, |
const Matcher<Node*>& length_matcher, |
- const Matcher<Node*>& effect_matcher, |
- const Matcher<Node*>& control_matcher) { |
+ const Matcher<Node*>& effect_matcher) { |
return MakeMatcher(new IsLoadElementMatcher(access_matcher, base_matcher, |
index_matcher, length_matcher, |
- effect_matcher, control_matcher)); |
+ effect_matcher)); |
} |