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

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

Issue 473263004: Towards removing dependency from generic lowering on compilation info. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
Index: src/compiler/js-context-specialization.h
diff --git a/src/compiler/js-context-specialization.h b/src/compiler/js-context-specialization.h
index b8b50ed6c36a1dbbf0f2a575892e8328c4500f36..3893399fdcbce53d56f6449c2f72e114c7e1e594 100644
--- a/src/compiler/js-context-specialization.h
+++ b/src/compiler/js-context-specialization.h
@@ -19,13 +19,18 @@ namespace compiler {
class JSContextSpecializer {
titzer 2014/08/20 12:54:38 This class is becoming more general now. I think w
public:
JSContextSpecializer(CompilationInfo* info, JSGraph* jsgraph, Node* context)
- : info_(info), jsgraph_(jsgraph), context_(context) {}
+ : specialized_(false),
titzer 2014/08/20 12:54:38 If you make this a parameter, then you can simplif
+ info_(info),
+ jsgraph_(jsgraph),
+ context_(context) {}
void SpecializeToContext();
Reduction ReduceJSLoadContext(Node* node);
Reduction ReduceJSStoreContext(Node* node);
+ Node* InsertBuiltinLoadBefore(Node* before, Builtins::JavaScript id);
private:
+ bool specialized_;
CompilationInfo* info_;
JSGraph* jsgraph_;
Node* context_;

Powered by Google App Engine
This is Rietveld 408576698