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

Side by Side Diff: src/parsing/preparser.cc

Issue 2281443002: Separate DuplicateFinder from Scanner. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 3 months 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
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 #include <cmath> 5 #include <cmath>
6 6
7 #include "src/allocation.h" 7 #include "src/allocation.h"
8 #include "src/base/logging.h" 8 #include "src/base/logging.h"
9 #include "src/conversions-inl.h" 9 #include "src/conversions-inl.h"
10 #include "src/conversions.h" 10 #include "src/conversions.h"
11 #include "src/globals.h" 11 #include "src/globals.h"
12 #include "src/list.h" 12 #include "src/list.h"
13 #include "src/parsing/duplicate-finder.h"
13 #include "src/parsing/parser-base.h" 14 #include "src/parsing/parser-base.h"
14 #include "src/parsing/preparse-data-format.h" 15 #include "src/parsing/preparse-data-format.h"
15 #include "src/parsing/preparse-data.h" 16 #include "src/parsing/preparse-data.h"
16 #include "src/parsing/preparser.h" 17 #include "src/parsing/preparser.h"
17 #include "src/unicode.h" 18 #include "src/unicode.h"
18 #include "src/utils.h" 19 #include "src/utils.h"
19 20
20 namespace v8 { 21 namespace v8 {
21 namespace internal { 22 namespace internal {
22 23
(...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 1265
1265 body->Add(PreParserStatement::ExpressionStatement(return_value), zone()); 1266 body->Add(PreParserStatement::ExpressionStatement(return_value), zone());
1266 } 1267 }
1267 1268
1268 #undef CHECK_OK 1269 #undef CHECK_OK
1269 #undef CHECK_OK_CUSTOM 1270 #undef CHECK_OK_CUSTOM
1270 1271
1271 1272
1272 } // namespace internal 1273 } // namespace internal
1273 } // namespace v8 1274 } // namespace v8
OLDNEW
« src/collector.h ('K') | « src/parsing/parser.cc ('k') | src/parsing/scanner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698