Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index ba422fdaf38dbfadc51dd55559525b5571375059..878cc4c4e9129c0e4423b4a56978d037f84444f9 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1672,7 +1672,8 @@ class FunctionLiteral: public Expression { |
int start_position, |
int end_position, |
bool is_expression, |
- bool contains_loops) |
+ bool contains_loops, |
+ bool strict_mode) |
: name_(name), |
scope_(scope), |
body_(body), |
@@ -1686,6 +1687,7 @@ class FunctionLiteral: public Expression { |
end_position_(end_position), |
is_expression_(is_expression), |
contains_loops_(contains_loops), |
+ strict_mode_(strict_mode), |
function_token_position_(RelocInfo::kNoPosition), |
inferred_name_(Heap::empty_string()), |
try_full_codegen_(false), |
@@ -1702,6 +1704,7 @@ class FunctionLiteral: public Expression { |
int end_position() const { return end_position_; } |
bool is_expression() const { return is_expression_; } |
bool contains_loops() const { return contains_loops_; } |
+ bool strict_mode() const { return strict_mode_; } |
int materialized_literal_count() { return materialized_literal_count_; } |
int expected_property_count() { return expected_property_count_; } |
@@ -1745,6 +1748,7 @@ class FunctionLiteral: public Expression { |
int end_position_; |
bool is_expression_; |
bool contains_loops_; |
+ bool strict_mode_; |
int function_token_position_; |
Handle<String> inferred_name_; |
bool try_full_codegen_; |