Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Unified Diff: test/unittests/compiler/graph-unittest.h

Issue 816053002: [turbofan] First version of loop peeling. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/unittests/compiler/graph-unittest.h
diff --git a/test/unittests/compiler/graph-unittest.h b/test/unittests/compiler/graph-unittest.h
index 7c75161d9d2c092624fe3b247d5808476594f52c..0e462ed76b2b9cba71a0f1fd379fb3e2fb47c56d 100644
--- a/test/unittests/compiler/graph-unittest.h
+++ b/test/unittests/compiler/graph-unittest.h
@@ -7,6 +7,8 @@
#include "src/compiler/common-operator.h"
#include "src/compiler/graph.h"
+#include "src/compiler/machine-operator.h"
Benedikt Meurer 2015/01/16 17:55:36 Remove these two includes again.
titzer 2015/01/19 09:47:12 Done.
+#include "src/compiler/node.h"
#include "src/compiler/typer.h"
#include "test/unittests/test-utils.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -31,7 +33,6 @@ class GraphTest : public TestWithContext, public TestWithZone {
explicit GraphTest(int num_parameters = 1);
~GraphTest() OVERRIDE;
- protected:
Benedikt Meurer 2015/01/16 17:55:36 Reinsert the protected.
titzer 2015/01/19 09:47:12 Done.
Node* Parameter(int32_t index = 0);
Node* Float32Constant(volatile float value);
Node* Float64Constant(volatile double value);
@@ -50,6 +51,7 @@ class GraphTest : public TestWithContext, public TestWithZone {
Matcher<Node*> IsFalseConstant();
Matcher<Node*> IsTrueConstant();
+ Node* start() { return graph()->start(); }
CommonOperatorBuilder* common() { return &common_; }
Graph* graph() { return &graph_; }
@@ -64,7 +66,6 @@ class TypedGraphTest : public GraphTest {
explicit TypedGraphTest(int num_parameters = 1);
~TypedGraphTest() OVERRIDE;
- protected:
Benedikt Meurer 2015/01/16 17:55:36 Reinsert the protected.
titzer 2015/01/19 09:47:12 Done.
Node* Parameter(int32_t index = 0) { return GraphTest::Parameter(index); }
Node* Parameter(Type* type, int32_t index = 0);
@@ -74,6 +75,7 @@ class TypedGraphTest : public GraphTest {
Typer typer_;
};
+
} // namespace compiler
} // namespace internal
} // namespace v8

Powered by Google App Engine
This is Rietveld 408576698