| Index: src/ast.h
|
| ===================================================================
|
| --- src/ast.h (revision 6437)
|
| +++ src/ast.h (working copy)
|
| @@ -1675,7 +1675,8 @@
|
| int start_position,
|
| int end_position,
|
| bool is_expression,
|
| - bool contains_loops)
|
| + bool contains_loops,
|
| + bool strict_mode)
|
| : name_(name),
|
| scope_(scope),
|
| body_(body),
|
| @@ -1689,6 +1690,7 @@
|
| 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),
|
| @@ -1705,6 +1707,7 @@
|
| 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_; }
|
| @@ -1747,6 +1750,7 @@
|
| int end_position_;
|
| bool is_expression_;
|
| bool contains_loops_;
|
| + bool strict_mode_;
|
| int function_token_position_;
|
| Handle<String> inferred_name_;
|
| bool try_full_codegen_;
|
|
|