Index: src/crankshaft/hydrogen.h |
diff --git a/src/crankshaft/hydrogen.h b/src/crankshaft/hydrogen.h |
index 29de9bd963538655435d8beb1478932172fd2f58..ac4d6e968218f12439a1cb5e0c9d05ed30e7c7a9 100644 |
--- a/src/crankshaft/hydrogen.h |
+++ b/src/crankshaft/hydrogen.h |
@@ -2300,11 +2300,9 @@ class HOptimizedGraphBuilder : public HGraphBuilder, |
int index, |
HEnvironment* env) { |
if (!FLAG_analyze_environment_liveness) return false; |
- // |this| and |arguments| are always live; zapping parameters isn't |
- // safe because function.arguments can inspect them at any time. |
- return !var->is_this() && |
- !var->is_arguments() && |
- env->is_local_index(index); |
+ // Zapping parameters isn't safe because function.arguments can inspect them |
+ // at any time. |
+ return env->is_local_index(index); |
} |
void BindIfLive(Variable* var, HValue* value) { |
HEnvironment* env = environment(); |