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

Unified Diff: src/compiler/js-context-specialization.h

Issue 934293002: [turbofan] Simply context specialization and fix for OSR. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/control-reducer.cc ('k') | src/compiler/js-context-specialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-context-specialization.h
diff --git a/src/compiler/js-context-specialization.h b/src/compiler/js-context-specialization.h
index c524eb7b560f36da73d2920ed917f5d33a3094e4..f58eaa6848da86ce7cfba66fe38c2e49592f57e9 100644
--- a/src/compiler/js-context-specialization.h
+++ b/src/compiler/js-context-specialization.h
@@ -17,8 +17,7 @@ namespace compiler {
// some {LoadContext} nodes or strength reducing some {StoreContext} nodes.
class JSContextSpecializer : public Reducer {
public:
- JSContextSpecializer(Handle<Context> ctx, JSGraph* jsgraph, Node* context)
- : ctx_(ctx), jsgraph_(jsgraph), context_(context) {}
+ explicit JSContextSpecializer(JSGraph* jsgraph) : jsgraph_(jsgraph) {}
Reduction Reduce(Node* node) OVERRIDE;
@@ -27,9 +26,7 @@ class JSContextSpecializer : public Reducer {
Reduction ReduceJSStoreContext(Node* node);
private:
- Handle<Context> ctx_;
JSGraph* jsgraph_;
- Node* context_;
};
}
}
« no previous file with comments | « src/compiler/control-reducer.cc ('k') | src/compiler/js-context-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698