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

Unified Diff: src/compiler/simplified-operator-reducer.h

Issue 1410003002: [turbofan] Remove locally constructed simplified builders. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/simplified-lowering.cc ('k') | src/compiler/simplified-operator-reducer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/simplified-operator-reducer.h
diff --git a/src/compiler/simplified-operator-reducer.h b/src/compiler/simplified-operator-reducer.h
index c302250d266fbea3c922962f979f4d6325669860..831090ac9f4c64c0239199a06e5dfa8a17c4bf70 100644
--- a/src/compiler/simplified-operator-reducer.h
+++ b/src/compiler/simplified-operator-reducer.h
@@ -6,7 +6,6 @@
#define V8_COMPILER_SIMPLIFIED_OPERATOR_REDUCER_H_
#include "src/compiler/graph-reducer.h"
-#include "src/compiler/simplified-operator.h"
namespace v8 {
namespace internal {
@@ -15,6 +14,7 @@ namespace compiler {
// Forward declarations.
class JSGraph;
class MachineOperatorBuilder;
+class SimplifiedOperatorBuilder;
class SimplifiedOperatorReducer final : public Reducer {
@@ -37,10 +37,9 @@ class SimplifiedOperatorReducer final : public Reducer {
Graph* graph() const;
JSGraph* jsgraph() const { return jsgraph_; }
MachineOperatorBuilder* machine() const;
- SimplifiedOperatorBuilder* simplified() { return &simplified_; }
+ SimplifiedOperatorBuilder* simplified() const;
JSGraph* const jsgraph_;
- SimplifiedOperatorBuilder simplified_;
DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorReducer);
};
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | src/compiler/simplified-operator-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698