| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_VARIABLES_H_ | 5 #ifndef V8_VARIABLES_H_ |
| 6 #define V8_VARIABLES_H_ | 6 #define V8_VARIABLES_H_ |
| 7 | 7 |
| 8 #include "src/ast-value-factory.h" | 8 #include "src/ast-value-factory.h" |
| 9 #include "src/zone.h" | 9 #include "src/zone.h" |
| 10 | 10 |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 void set_declaration_group_start(int declaration_group_start) { | 186 void set_declaration_group_start(int declaration_group_start) { |
| 187 declaration_group_start_ = declaration_group_start; | 187 declaration_group_start_ = declaration_group_start; |
| 188 } | 188 } |
| 189 | 189 |
| 190 private: | 190 private: |
| 191 // For classes we keep track of consecutive groups of delcarations. They are | 191 // For classes we keep track of consecutive groups of delcarations. They are |
| 192 // needed for strong mode scoping checks. TODO(marja, rossberg): Implement | 192 // needed for strong mode scoping checks. TODO(marja, rossberg): Implement |
| 193 // checks for functions too. | 193 // checks for functions too. |
| 194 int declaration_group_start_; | 194 int declaration_group_start_; |
| 195 }; | 195 }; |
| 196 } } // namespace v8::internal | 196 } // namespace internal |
| 197 } // namespace v8 |
| 197 | 198 |
| 198 #endif // V8_VARIABLES_H_ | 199 #endif // V8_VARIABLES_H_ |
| OLD | NEW |