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

Unified Diff: src/compiler/machine-operator-reducer-unittest.cc

Issue 526083002: [turbofan] Fix MachineOperatorReducer to use JSGraph as well. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix Created 6 years, 4 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
« no previous file with comments | « src/compiler/machine-operator-reducer.cc ('k') | src/compiler/pipeline.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/machine-operator-reducer-unittest.cc
diff --git a/src/compiler/machine-operator-reducer-unittest.cc b/src/compiler/machine-operator-reducer-unittest.cc
index 743e88ce58595b4ed2dee7f8728ea740b8e2b204..df06110655311582537981fd0317704356587edf 100644
--- a/src/compiler/machine-operator-reducer-unittest.cc
+++ b/src/compiler/machine-operator-reducer-unittest.cc
@@ -4,7 +4,9 @@
#include "src/base/bits.h"
#include "src/compiler/graph-unittest.h"
+#include "src/compiler/js-graph.h"
#include "src/compiler/machine-operator-reducer.h"
+#include "src/compiler/typer.h"
namespace v8 {
namespace internal {
@@ -18,7 +20,9 @@ class MachineOperatorReducerTest : public GraphTest {
protected:
Reduction Reduce(Node* node) {
- MachineOperatorReducer reducer(graph());
+ Typer typer(zone());
+ JSGraph jsgraph(graph(), common(), &typer);
+ MachineOperatorReducer reducer(&jsgraph);
return reducer.Reduce(node);
}
« no previous file with comments | « src/compiler/machine-operator-reducer.cc ('k') | src/compiler/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698