| Index: src/ast.h
|
| ===================================================================
|
| --- src/ast.h (revision 5323)
|
| +++ src/ast.h (working copy)
|
| @@ -1416,7 +1416,8 @@
|
| int num_parameters,
|
| int start_position,
|
| int end_position,
|
| - bool is_expression)
|
| + bool is_expression,
|
| + bool contains_loops)
|
| : name_(name),
|
| scope_(scope),
|
| body_(body),
|
| @@ -1429,6 +1430,7 @@
|
| start_position_(start_position),
|
| end_position_(end_position),
|
| is_expression_(is_expression),
|
| + contains_loops_(contains_loops),
|
| function_token_position_(RelocInfo::kNoPosition),
|
| inferred_name_(Heap::empty_string()),
|
| try_full_codegen_(false) {
|
| @@ -1450,6 +1452,7 @@
|
| int start_position() const { return start_position_; }
|
| int end_position() const { return end_position_; }
|
| bool is_expression() const { return is_expression_; }
|
| + bool contains_loops() const { return contains_loops_; }
|
|
|
| int materialized_literal_count() { return materialized_literal_count_; }
|
| int expected_property_count() { return expected_property_count_; }
|
| @@ -1490,6 +1493,7 @@
|
| int start_position_;
|
| int end_position_;
|
| bool is_expression_;
|
| + bool contains_loops_;
|
| int function_token_position_;
|
| Handle<String> inferred_name_;
|
| bool try_full_codegen_;
|
|
|