Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index aacc5e4fc8189d876c6331d895df252bdcbbeb90..954a0ae22a91671c91df3898184276d1265f61b7 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -2315,7 +2315,7 @@ class FunctionLiteral V8_FINAL : public Expression { |
int SourceSize() const { return end_position() - start_position(); } |
bool is_expression() const { return IsExpression::decode(bitfield_); } |
bool is_anonymous() const { return IsAnonymous::decode(bitfield_); } |
- bool is_classic_mode() const { return language_mode() == CLASSIC_MODE; } |
+ bool is_sloppy_mode() const { return language_mode() == SLOPPY_MODE; } |
LanguageMode language_mode() const; |
int materialized_literal_count() { return materialized_literal_count_; } |