Index: src/compiler/js-context-specialization.h |
diff --git a/src/compiler/js-context-specialization.h b/src/compiler/js-context-specialization.h |
index dc0b50e611b59bf0b49830d5fe5930b60a3c16bd..b8b50ed6c36a1dbbf0f2a575892e8328c4500f36 100644 |
--- a/src/compiler/js-context-specialization.h |
+++ b/src/compiler/js-context-specialization.h |
@@ -15,7 +15,7 @@ namespace internal { |
namespace compiler { |
// Specializes a given JSGraph to a given context, potentially constant folding |
-// some {LoadContext} nodes. |
+// some {LoadContext} nodes or strength reducing some {StoreContext} nodes. |
class JSContextSpecializer { |
public: |
JSContextSpecializer(CompilationInfo* info, JSGraph* jsgraph, Node* context) |
@@ -23,6 +23,7 @@ class JSContextSpecializer { |
void SpecializeToContext(); |
Reduction ReduceJSLoadContext(Node* node); |
+ Reduction ReduceJSStoreContext(Node* node); |
private: |
CompilationInfo* info_; |