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

Unified Diff: src/background-parsing-task.h

Issue 974213002: Extract ParseInfo from CompilationInfo. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: src/background-parsing-task.h
diff --git a/src/background-parsing-task.h b/src/background-parsing-task.h
index 19c93a833a2cefe5e82af904c25086383ebac038..6cbd56533e8ef3d866769f5ff1f95b900bc42cfb 100644
--- a/src/background-parsing-task.h
+++ b/src/background-parsing-task.h
@@ -14,8 +14,6 @@
namespace v8 {
namespace internal {
-class Parser;
-
// Internal representation of v8::ScriptCompiler::StreamedSource. Contains all
// data which needs to be transmitted between threads for background parsing,
// finalizing it on the main thread, and compiling on the main thread.
@@ -36,7 +34,8 @@ struct StreamedSource {
// between parsing and compilation. These need to be initialized before the
// compilation starts.
UnicodeCache unicode_cache;
- SmartPointer<CompilationInfo> info;
+ SmartPointer<ParseInfo> info;
+ SmartPointer<Zone> zone;
marja 2015/03/05 10:52:55 Why is Zone needed separately, can't we get it fro
uint32_t hash_seed;
bool allow_lazy;
SmartPointer<Parser> parser;
@@ -58,7 +57,6 @@ class BackgroundParsingTask : public ScriptCompiler::ScriptStreamingTask {
private:
StreamedSource* source_; // Not owned.
- ScriptCompiler::CompileOptions options_;
int stack_size_;
};
}

Powered by Google App Engine
This is Rietveld 408576698