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

Unified Diff: src/compiler-dispatcher/compiler-dispatcher-job.h

Issue 2687973003: Revert of [Compiler] Enable handles created during parsing and scope analysis to be deferred. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « src/compiler-dispatcher/compiler-dispatcher.cc ('k') | src/compiler-dispatcher/compiler-dispatcher-job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler-dispatcher/compiler-dispatcher-job.h
diff --git a/src/compiler-dispatcher/compiler-dispatcher-job.h b/src/compiler-dispatcher/compiler-dispatcher-job.h
index 94b2d784a8aa8dab2ae3b9a2a0f2e5cbba6629aa..b36dbc7fc22a65fc21d917168a36f81719560ef1 100644
--- a/src/compiler-dispatcher/compiler-dispatcher-job.h
+++ b/src/compiler-dispatcher/compiler-dispatcher-job.h
@@ -20,7 +20,6 @@
class CompilerDispatcherTracer;
class CompilationInfo;
class CompilationJob;
-class DeferredHandles;
class FunctionLiteral;
class Isolate;
class ParseInfo;
@@ -51,11 +50,7 @@
// Creates a CompilerDispatcherJob in the analyzed state.
CompilerDispatcherJob(Isolate* isolate, CompilerDispatcherTracer* tracer,
Handle<SharedFunctionInfo> shared,
- FunctionLiteral* literal,
- std::shared_ptr<Zone> parse_zone,
- std::shared_ptr<DeferredHandles> parse_handles,
- std::shared_ptr<DeferredHandles> compile_handles,
- size_t max_stack_size);
+ FunctionLiteral* literal, size_t max_stack_size);
~CompilerDispatcherJob();
CompileJobStatus status() const { return status_; }
@@ -116,9 +111,7 @@
std::unique_ptr<Utf16CharacterStream> character_stream_;
std::unique_ptr<ParseInfo> parse_info_;
std::unique_ptr<Parser> parser_;
-
- // Members required for compiling a parsed function.
- std::shared_ptr<Zone> parse_zone_;
+ std::unique_ptr<DeferredHandles> handles_from_parsing_;
// Members required for compiling.
std::unique_ptr<CompilationInfo> compile_info_;
« no previous file with comments | « src/compiler-dispatcher/compiler-dispatcher.cc ('k') | src/compiler-dispatcher/compiler-dispatcher-job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698