diff options
Diffstat (limited to 'deps/v8/test/unittests/compiler/graph-unittest.h')
-rw-r--r-- | deps/v8/test/unittests/compiler/graph-unittest.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/test/unittests/compiler/graph-unittest.h b/deps/v8/test/unittests/compiler/graph-unittest.h index 31bae6d415..d4248e422b 100644 --- a/deps/v8/test/unittests/compiler/graph-unittest.h +++ b/deps/v8/test/unittests/compiler/graph-unittest.h @@ -48,6 +48,9 @@ class GraphTest : public TestWithContext, public TestWithIsolateAndZone { Node* EmptyFrameState(); + Matcher<Node*> IsBooleanConstant(bool value) { + return value ? IsTrueConstant() : IsFalseConstant(); + } Matcher<Node*> IsFalseConstant(); Matcher<Node*> IsTrueConstant(); Matcher<Node*> IsUndefinedConstant(); |