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_PREPARSE_DATA_H_ | 5 #ifndef V8_PREPARSE_DATA_H_ |
6 #define V8_PREPARSE_DATA_H_ | 6 #define V8_PREPARSE_DATA_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/hashmap.h" | 9 #include "src/hashmap.h" |
| 10 #include "src/preparse-data-format.h" |
10 #include "src/utils-inl.h" | 11 #include "src/utils-inl.h" |
11 | 12 |
12 namespace v8 { | 13 namespace v8 { |
13 namespace internal { | 14 namespace internal { |
14 | 15 |
15 | 16 |
16 // Abstract interface for preparse data recorder. | 17 // Abstract interface for preparse data recorder. |
17 class ParserRecorder { | 18 class ParserRecorder { |
18 public: | 19 public: |
19 ParserRecorder() { } | 20 ParserRecorder() { } |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 | 166 |
166 #ifdef DEBUG | 167 #ifdef DEBUG |
167 int prev_start_; | 168 int prev_start_; |
168 #endif | 169 #endif |
169 }; | 170 }; |
170 | 171 |
171 | 172 |
172 } } // namespace v8::internal. | 173 } } // namespace v8::internal. |
173 | 174 |
174 #endif // V8_PREPARSE_DATA_H_ | 175 #endif // V8_PREPARSE_DATA_H_ |
OLD | NEW |