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

Unified Diff: src/compiler-dispatcher/compiler-dispatcher.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.cc ('k') | src/compiler-dispatcher/compiler-dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler-dispatcher/compiler-dispatcher.h
diff --git a/src/compiler-dispatcher/compiler-dispatcher.h b/src/compiler-dispatcher/compiler-dispatcher.h
index eed05e65a710df2b54dbc44fe2c5c1893ec2f85e..431a1ec3346f19cb2dab87f4084b8878a92b31d4 100644
--- a/src/compiler-dispatcher/compiler-dispatcher.h
+++ b/src/compiler-dispatcher/compiler-dispatcher.h
@@ -28,11 +28,9 @@
class CancelableTaskManager;
class CompilerDispatcherJob;
class CompilerDispatcherTracer;
-class DeferredHandles;
class FunctionLiteral;
class Isolate;
class SharedFunctionInfo;
-class Zone;
template <typename T>
class Handle;
@@ -84,19 +82,13 @@
// Enqueue a job for compilation. Function must have already been parsed and
// analyzed and be ready for compilation. Returns true if a job was enqueued.
- bool Enqueue(Handle<SharedFunctionInfo> function, FunctionLiteral* literal,
- std::shared_ptr<Zone> parse_zone,
- std::shared_ptr<DeferredHandles> parse_handles,
- std::shared_ptr<DeferredHandles> compile_handles);
+ bool Enqueue(Handle<SharedFunctionInfo> function, FunctionLiteral* literal);
// Like Enqueue, but also advances the job so that it can potentially
// continue running on a background thread (if at all possible). Returns
// true if the job was enqueued.
bool EnqueueAndStep(Handle<SharedFunctionInfo> function,
- FunctionLiteral* literal,
- std::shared_ptr<Zone> parse_zone,
- std::shared_ptr<DeferredHandles> parse_handles,
- std::shared_ptr<DeferredHandles> compile_handles);
+ FunctionLiteral* literal);
// Returns true if there is a pending job for the given function.
bool IsEnqueued(Handle<SharedFunctionInfo> function) const;
« no previous file with comments | « src/compiler.cc ('k') | src/compiler-dispatcher/compiler-dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698