Version 3.26.4 (based on bleeding_edge revision r20446)
Make stray 'return' an early error.
Show references from weak containers as weak in heap snapshots (Chromium issue 356590).
Make invalid LHSs that are calls late errors (Chromium issue 358346).
Performance and stability improvements on all platforms.
git-svn-id: http://v8.googlecode.com/svn/trunk@20455 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/lithium-codegen.h b/src/lithium-codegen.h
index 3e8d471..9f06781 100644
--- a/src/lithium-codegen.h
+++ b/src/lithium-codegen.h
@@ -68,6 +68,11 @@
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,