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

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: Fix rebase. 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
« no previous file with comments | « src/parsing/parser.cc ('k') | src/parsing/scanner.h » ('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 #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 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after
1242 1243
1243 body->Add(PreParserStatement::ExpressionStatement(return_value), zone()); 1244 body->Add(PreParserStatement::ExpressionStatement(return_value), zone());
1244 } 1245 }
1245 1246
1246 #undef CHECK_OK 1247 #undef CHECK_OK
1247 #undef CHECK_OK_CUSTOM 1248 #undef CHECK_OK_CUSTOM
1248 1249
1249 1250
1250 } // namespace internal 1251 } // namespace internal
1251 } // namespace v8 1252 } // namespace v8
OLDNEW
« no previous file with comments | « src/parsing/parser.cc ('k') | src/parsing/scanner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698