Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 170091616fee68ebf86ebda40f04dc060cd432ca..d19028d04f1d233bdbda46df868e43ac99416c65 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -2497,6 +2497,12 @@ class FunctionLiteral FINAL : public Expression { |
bool is_expression() const { return IsExpression::decode(bitfield_); } |
bool is_anonymous() const { return IsAnonymous::decode(bitfield_); } |
StrictMode strict_mode() const; |
+ bool needs_super_binding() const; |
+ |
+ static bool NeedsHomeObject(Expression* literal) { |
+ return literal != NULL && literal->IsFunctionLiteral() && |
+ literal->AsFunctionLiteral()->needs_super_binding(); |
+ } |
int materialized_literal_count() { return materialized_literal_count_; } |
int expected_property_count() { return expected_property_count_; } |