summaryrefslogtreecommitdiff
path: root/deps/v8/test/unittests/compiler/graph-unittest.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/unittests/compiler/graph-unittest.h')
-rw-r--r--deps/v8/test/unittests/compiler/graph-unittest.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/v8/test/unittests/compiler/graph-unittest.h b/deps/v8/test/unittests/compiler/graph-unittest.h
index 7c75161d9d..21f8ebf6b4 100644
--- a/deps/v8/test/unittests/compiler/graph-unittest.h
+++ b/deps/v8/test/unittests/compiler/graph-unittest.h
@@ -26,12 +26,15 @@ namespace compiler {
using ::testing::Matcher;
-class GraphTest : public TestWithContext, public TestWithZone {
+class GraphTest : public TestWithContext, public TestWithIsolateAndZone {
public:
explicit GraphTest(int num_parameters = 1);
~GraphTest() OVERRIDE;
protected:
+ Node* start() { return graph()->start(); }
+ Node* end() { return graph()->end(); }
+
Node* Parameter(int32_t index = 0);
Node* Float32Constant(volatile float value);
Node* Float64Constant(volatile double value);
@@ -49,6 +52,7 @@ class GraphTest : public TestWithContext, public TestWithZone {
Matcher<Node*> IsFalseConstant();
Matcher<Node*> IsTrueConstant();
+ Matcher<Node*> IsUndefinedConstant();
CommonOperatorBuilder* common() { return &common_; }
Graph* graph() { return &graph_; }