diff options
Diffstat (limited to 'deps/v8/test/unittests/compiler/graph-unittest.h')
-rw-r--r-- | deps/v8/test/unittests/compiler/graph-unittest.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/deps/v8/test/unittests/compiler/graph-unittest.h b/deps/v8/test/unittests/compiler/graph-unittest.h index 8317ebf279..a4b719fe6b 100644 --- a/deps/v8/test/unittests/compiler/graph-unittest.h +++ b/deps/v8/test/unittests/compiler/graph-unittest.h @@ -24,8 +24,7 @@ namespace compiler { using ::testing::Matcher; -class GraphTest : public virtual TestWithNativeContext, - public virtual TestWithIsolateAndZone { +class GraphTest : public TestWithNativeContextAndZone { public: explicit GraphTest(int num_parameters = 1); ~GraphTest() override; @@ -62,13 +61,13 @@ class GraphTest : public virtual TestWithNativeContext, Graph* graph() { return &graph_; } SourcePositionTable* source_positions() { return &source_positions_; } NodeOriginTable* node_origins() { return &node_origins_; } - JSHeapBroker* js_heap_broker() { return &js_heap_broker_; } + JSHeapBroker* broker() { return &broker_; } private: CanonicalHandleScope canonical_; CommonOperatorBuilder common_; Graph graph_; - JSHeapBroker js_heap_broker_; + JSHeapBroker broker_; SourcePositionTable source_positions_; NodeOriginTable node_origins_; }; |