| 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_PARSING_PREPARSE_DATA_H_ |
| 6 #define V8_PREPARSE_DATA_H_ | 6 #define V8_PARSING_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/messages.h" | 10 #include "src/messages.h" |
| 11 #include "src/preparse-data-format.h" | 11 #include "src/parsing/preparse-data-format.h" |
| 12 | 12 |
| 13 namespace v8 { | 13 namespace v8 { |
| 14 namespace internal { | 14 namespace internal { |
| 15 | 15 |
| 16 class ScriptData { | 16 class ScriptData { |
| 17 public: | 17 public: |
| 18 ScriptData(const byte* data, int length); | 18 ScriptData(const byte* data, int length); |
| 19 ~ScriptData() { | 19 ~ScriptData() { |
| 20 if (owns_data_) DeleteArray(data_); | 20 if (owns_data_) DeleteArray(data_); |
| 21 } | 21 } |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 | 202 |
| 203 #ifdef DEBUG | 203 #ifdef DEBUG |
| 204 int prev_start_; | 204 int prev_start_; |
| 205 #endif | 205 #endif |
| 206 }; | 206 }; |
| 207 | 207 |
| 208 | 208 |
| 209 } // namespace internal | 209 } // namespace internal |
| 210 } // namespace v8. | 210 } // namespace v8. |
| 211 | 211 |
| 212 #endif // V8_PREPARSE_DATA_H_ | 212 #endif // V8_PARSING_PREPARSE_DATA_H_ |
| OLD | NEW |