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_; |