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

Unified Diff: src/compiler/store-store-elimination.h

Issue 2159303002: [turbofan] Improve the store-store elimination. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@p1-base
Patch Set: Fix merge conflict Created 4 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/pipeline.cc ('k') | src/compiler/store-store-elimination.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/store-store-elimination.h
diff --git a/src/compiler/store-store-elimination.h b/src/compiler/store-store-elimination.h
index 1c9ae3dbeb8c237f3cabec02d7b2204b8bd5e1ac..07ae2c25d1dd142662bcc52e4321a5259b502768 100644
--- a/src/compiler/store-store-elimination.h
+++ b/src/compiler/store-store-elimination.h
@@ -6,31 +6,16 @@
#define V8_COMPILER_STORE_STORE_ELIMINATION_H_
#include "src/compiler/common-operator.h"
-#include "src/compiler/graph-reducer.h"
#include "src/compiler/js-graph.h"
+#include "src/zone-containers.h"
namespace v8 {
namespace internal {
namespace compiler {
-// Forward declarations.
-class CommonOperatorBuilder;
-class JSGraph;
-
class StoreStoreElimination final {
public:
- StoreStoreElimination(JSGraph* js_graph, Zone* temp_zone);
- ~StoreStoreElimination();
- void Run();
-
- private:
- static bool IsEligibleNode(Node* node);
- void ReduceEligibleNode(Node* node);
- JSGraph* jsgraph() const { return jsgraph_; }
- Zone* temp_zone() const { return temp_zone_; }
-
- JSGraph* const jsgraph_;
- Zone* const temp_zone_;
+ static void Run(JSGraph* js_graph, Zone* temp_zone);
};
} // namespace compiler
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/compiler/store-store-elimination.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698