| Index: src/ast.h
|
| diff --git a/src/ast.h b/src/ast.h
|
| index 71639d5dd2d8a29645b3d26a543c810d0f4efa55..b049cc94c548d400049d656fe378f39e4ccab48b 100644
|
| --- a/src/ast.h
|
| +++ b/src/ast.h
|
| @@ -1689,8 +1689,8 @@ class FunctionLiteral: public Expression {
|
| int end_position() const;
|
| bool is_expression() const { return IsExpression::decode(bitfield_); }
|
| bool is_anonymous() const { return IsAnonymous::decode(bitfield_); }
|
| - bool strict_mode() const { return strict_mode_flag() == kStrictMode; }
|
| - StrictModeFlag strict_mode_flag() const;
|
| + bool is_classic_mode() const { return language_mode() == CLASSIC_MODE; }
|
| + LanguageMode language_mode() const;
|
|
|
| int materialized_literal_count() { return materialized_literal_count_; }
|
| int expected_property_count() { return expected_property_count_; }
|
|
|