Index: src/lithium-codegen.h |
diff --git a/src/lithium-codegen.h b/src/lithium-codegen.h |
index 3e8d471ea78deb92f7f5647dd59cebd116f5ffd6..9f06781b852a0800b72602489a475bb2333eac58 100644 |
--- a/src/lithium-codegen.h |
+++ b/src/lithium-codegen.h |
@@ -68,6 +68,11 @@ class LCodeGenBase BASE_EMBEDDED { |
void RegisterWeakObjectsInOptimizedCode(Handle<Code> code); |
+ // Check that an environment assigned via AssignEnvironment is actually being |
+ // used. Redundant assignments keep things alive longer than necessary, and |
+ // consequently lead to worse code, so it's important to minimize this. |
+ void CheckEnvironmentUsage(); |
+ |
protected: |
enum Status { |
UNUSED, |