| Index: src/ast.h
|
| ===================================================================
|
| --- src/ast.h (revision 751)
|
| +++ src/ast.h (working copy)
|
| @@ -1125,6 +1125,7 @@
|
| start_position_(start_position),
|
| end_position_(end_position),
|
| is_expression_(is_expression),
|
| + loop_nesting_(0),
|
| function_token_position_(RelocInfo::kNoPosition) {
|
| }
|
|
|
| @@ -1149,6 +1150,9 @@
|
|
|
| bool AllowsLazyCompilation();
|
|
|
| + bool loop_nesting() const { return loop_nesting_; }
|
| + void set_loop_nesting(int nesting) { loop_nesting_ = nesting; }
|
| +
|
| private:
|
| Handle<String> name_;
|
| Scope* scope_;
|
| @@ -1160,6 +1164,7 @@
|
| int start_position_;
|
| int end_position_;
|
| bool is_expression_;
|
| + int loop_nesting_;
|
| int function_token_position_;
|
| };
|
|
|
|
|