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 d5d4e1a91450f350c877a148450f3701e32b8228..5d01185e29995b8dcc4bde726780b7a5b1ea739d 100644 |
--- a/test/unittests/compiler/node-test-utils.cc |
+++ b/test/unittests/compiler/node-test-utils.cc |
@@ -1299,6 +1299,15 @@ class IsLoadContextMatcher final : public NodeMatcher { |
access_matcher_(access_matcher), |
context_matcher_(context_matcher) {} |
+ void DescribeTo(std::ostream* os) const final { |
+ NodeMatcher::DescribeTo(os); |
+ *os << " whose access ("; |
+ access_matcher_.DescribeTo(os); |
+ *os << ") and context ("; |
+ context_matcher_.DescribeTo(os); |
+ *os << ")"; |
+ } |
+ |
bool MatchAndExplain(Node* node, MatchResultListener* listener) const final { |
return (NodeMatcher::MatchAndExplain(node, listener) && |
PrintMatchAndExplain(OpParameter<ContextAccess>(node), "access", |