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

Side by Side Diff: src/compiler-dispatcher/compiler-dispatcher-job.cc

Issue 2268513002: Cleanup: Move ParseInfo to a separate file. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 "src/compiler-dispatcher/compiler-dispatcher-job.h" 5 #include "src/compiler-dispatcher/compiler-dispatcher-job.h"
6 6
7 #include "src/assert-scope.h" 7 #include "src/assert-scope.h"
8 #include "src/global-handles.h" 8 #include "src/global-handles.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 #include "src/objects-inl.h" 10 #include "src/objects-inl.h"
11 #include "src/parsing/parse-info.h"
11 #include "src/parsing/parser.h" 12 #include "src/parsing/parser.h"
12 #include "src/parsing/scanner-character-streams.h" 13 #include "src/parsing/scanner-character-streams.h"
13 #include "src/unicode-cache.h" 14 #include "src/unicode-cache.h"
14 #include "src/zone.h" 15 #include "src/zone.h"
15 16
16 namespace v8 { 17 namespace v8 {
17 namespace internal { 18 namespace internal {
18 19
19 CompilerDispatcherJob::CompilerDispatcherJob(Isolate* isolate, 20 CompilerDispatcherJob::CompilerDispatcherJob(Isolate* isolate,
20 Handle<JSFunction> function, 21 Handle<JSFunction> function,
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 190
190 parse_info_->set_character_stream(nullptr); 191 parse_info_->set_character_stream(nullptr);
191 parse_info_->set_unicode_cache(nullptr); 192 parse_info_->set_unicode_cache(nullptr);
192 parser_.reset(); 193 parser_.reset();
193 unicode_cache_.reset(); 194 unicode_cache_.reset();
194 character_stream_.reset(); 195 character_stream_.reset();
195 } 196 }
196 197
197 } // namespace internal 198 } // namespace internal
198 } // namespace v8 199 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698