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

Side by Side Diff: src/background-parsing-task.h

Issue 2284313003: Separate CompilationInfo into its own file. (Closed)
Patch Set: fix 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 | « BUILD.gn ('k') | src/codegen.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_BACKGROUND_PARSING_TASK_H_ 5 #ifndef V8_BACKGROUND_PARSING_TASK_H_
6 #define V8_BACKGROUND_PARSING_TASK_H_ 6 #define V8_BACKGROUND_PARSING_TASK_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "include/v8.h"
10 #include "src/base/platform/platform.h" 11 #include "src/base/platform/platform.h"
11 #include "src/base/platform/semaphore.h" 12 #include "src/base/platform/semaphore.h"
12 #include "src/compiler.h"
13 #include "src/parsing/parse-info.h" 13 #include "src/parsing/parse-info.h"
14 #include "src/parsing/parser.h" 14 #include "src/parsing/parser.h"
15 15
16 namespace v8 { 16 namespace v8 {
17 namespace internal { 17 namespace internal {
18 18
19 class ScriptData; 19 class ScriptData;
20 20
21 // Internal representation of v8::ScriptCompiler::StreamedSource. Contains all 21 // Internal representation of v8::ScriptCompiler::StreamedSource. Contains all
22 // data which needs to be transmitted between threads for background parsing, 22 // data which needs to be transmitted between threads for background parsing,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 private: 56 private:
57 StreamedSource* source_; // Not owned. 57 StreamedSource* source_; // Not owned.
58 int stack_size_; 58 int stack_size_;
59 ScriptData* script_data_; 59 ScriptData* script_data_;
60 }; 60 };
61 } // namespace internal 61 } // namespace internal
62 } // namespace v8 62 } // namespace v8
63 63
64 #endif // V8_BACKGROUND_PARSING_TASK_H_ 64 #endif // V8_BACKGROUND_PARSING_TASK_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698