| Index: src/ast.h
|
| diff --git a/src/ast.h b/src/ast.h
|
| index 25cfdf59b3b50b3d907970d1316254e8f1ac4fa7..defeb8ecae84284408a4d145d744b090868b3637 100644
|
| --- a/src/ast.h
|
| +++ b/src/ast.h
|
| @@ -2486,11 +2486,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 uses_super() const;
|
| + bool uses_super_property() const;
|
| + bool uses_super_constructor_call() const;
|
|
|
| static bool NeedsHomeObject(Expression* literal) {
|
| return literal != NULL && literal->IsFunctionLiteral() &&
|
| - literal->AsFunctionLiteral()->uses_super();
|
| + literal->AsFunctionLiteral()->uses_super_property();
|
| }
|
|
|
| int materialized_literal_count() { return materialized_literal_count_; }
|
|
|