Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: src/parsing/preparse-data.h

Issue 1481613002: Create ast/ and parsing/ subdirectories and move appropriate files (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/parsing/pattern-rewriter.cc ('k') | src/parsing/preparse-data.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « src/parsing/pattern-rewriter.cc ('k') | src/parsing/preparse-data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698