Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 1226656cb85ffb8a0fbd733a859b0ad088471243..65aa346cbe4366d79d40f64ccbf9c65effc86eda 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -399,6 +399,10 @@ class HEnvironment: public ZoneObject { |
return i >= parameter_count() && i < parameter_count() + specials_count(); |
} |
+ int first_expression_index() const { |
+ return parameter_count() + specials_count() + local_count(); |
+ } |
+ |
void Bind(Variable* variable, HValue* value) { |
Bind(IndexFor(variable), value); |
} |