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/compiler-dispatcher/compiler-dispatcher-job.h

Issue 2637123002: Revert of [complier] Enable parallel eager inner function compilation with compiler dispatcher. (Closed)
Patch Set: Created 3 years, 11 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 a7f24181a614b874c8a6c2655de9883e1832e793..e0a2677f8e51aba4a9f1d53da1fb9f48b1e5e71e 100644
--- a/src/compiler-dispatcher/compiler-dispatcher-job.h
+++ b/src/compiler-dispatcher/compiler-dispatcher-job.h
@@ -16,11 +16,9 @@
namespace v8 {
namespace internal {
-class AstValueFactory;
class CompilerDispatcherTracer;
class CompilationInfo;
class CompilationJob;
-class FunctionLiteral;
class Isolate;
class ParseInfo;
class Parser;
@@ -34,8 +32,7 @@
kInitial,
kReadyToParse,
kParsed,
- kReadyToAnalyze,
- kAnalyzed,
+ kReadyToAnalyse,
kReadyToCompile,
kCompiled,
kFailed,
@@ -44,14 +41,9 @@
class V8_EXPORT_PRIVATE CompilerDispatcherJob {
public:
- // Creates a CompilerDispatcherJob in the initial state.
CompilerDispatcherJob(Isolate* isolate, CompilerDispatcherTracer* tracer,
Handle<SharedFunctionInfo> shared,
size_t max_stack_size);
- // Creates a CompilerDispatcherJob in the analyzed state.
- CompilerDispatcherJob(Isolate* isolate, CompilerDispatcherTracer* tracer,
- Handle<SharedFunctionInfo> shared,
- FunctionLiteral* literal, size_t max_stack_size);
~CompilerDispatcherJob();
CompileJobStatus status() const { return status_; }
@@ -66,15 +58,11 @@
// Transition from kReadyToParse to kParsed.
void Parse();
- // Transition from kParsed to kReadyToAnalyze (or kFailed). Returns false
+ // Transition from kParsed to kReadyToAnalyse (or kFailed). Returns false
// when transitioning to kFailed. In that case, an exception is pending.
bool FinalizeParsingOnMainThread();
- // Transition from kReadyToAnalyze to kAnalyzed (or kFailed). Returns
- // false when transitioning to kFailed. In that case, an exception is pending.
- bool AnalyzeOnMainThread();
-
- // Transition from kAnalyzed to kReadyToCompile (or kFailed). Returns
+ // Transition from kReadyToAnalyse to kReadyToCompile (or kFailed). Returns
// false when transitioning to kFailed. In that case, an exception is pending.
bool PrepareToCompileOnMainThread();
@@ -98,7 +86,7 @@
private:
FRIEND_TEST(CompilerDispatcherJobTest, ScopeChain);
- CompileJobStatus status_;
+ CompileJobStatus status_ = CompileJobStatus::kInitial;
Isolate* isolate_;
CompilerDispatcherTracer* tracer_;
Handle<SharedFunctionInfo> shared_; // Global handle.
« 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