Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index d19028d04f1d233bdbda46df868e43ac99416c65..7faaaef21e279f606900d8c58d5fff942f904728 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -2497,11 +2497,11 @@ 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; |
+ bool uses_super() const; |
static bool NeedsHomeObject(Expression* literal) { |
return literal != NULL && literal->IsFunctionLiteral() && |
- literal->AsFunctionLiteral()->needs_super_binding(); |
+ literal->AsFunctionLiteral()->uses_super(); |
} |
int materialized_literal_count() { return materialized_literal_count_; } |
@@ -2585,9 +2585,6 @@ class FunctionLiteral FINAL : public Expression { |
bool is_default_constructor() { |
return IsDefaultConstructor(FunctionKindBits::decode(bitfield_)); |
} |
- bool is_default_constructor_call_super() { |
- return IsDefaultConstructorCallSuper(FunctionKindBits::decode(bitfield_)); |
- } |
int ast_node_count() { return ast_properties_.node_count(); } |
AstProperties::Flags* flags() { return ast_properties_.flags(); } |
@@ -2659,7 +2656,7 @@ class FunctionLiteral FINAL : public Expression { |
class HasDuplicateParameters : public BitField<ParameterFlag, 3, 1> {}; |
class IsFunction : public BitField<IsFunctionFlag, 4, 1> {}; |
class IsParenthesized : public BitField<IsParenthesizedFlag, 5, 1> {}; |
- class FunctionKindBits : public BitField<FunctionKind, 6, 5> {}; |
+ class FunctionKindBits : public BitField<FunctionKind, 6, 4> {}; |
}; |