Reland "[compiler] Move the main pipeline's code assembly pass into the background."
This is a reland of 66b54ab152
Original change's description:
> [compiler] Move the main pipeline's code assembly pass into the background.
>
> R=bmeurer@chromium.org
>
> Bug: v8:6048
> Change-Id: I60bc35c02b5460416c3b0e2872fc72ebf9b808a5
> Reviewed-on: https://chromium-review.googlesource.com/563386
> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
> Commit-Queue: Georg Neis <neis@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#46499}
TBR=bmeurer@chromium.org
Bug: v8:6048
Change-Id: Ic841abc893c96271dc4dec7a0d19ba6a8b39164e
Reviewed-on: https://chromium-review.googlesource.com/565140
Reviewed-by: Georg Neis <neis@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46563}
This commit is contained in:
parent
4a03a23565
commit
7b08031041
@ -661,11 +661,11 @@ PipelineCompilationJob::Status PipelineCompilationJob::PrepareJobImpl() {
|
||||
|
||||
PipelineCompilationJob::Status PipelineCompilationJob::ExecuteJobImpl() {
|
||||
if (!pipeline_.OptimizeGraph(linkage_)) return FAILED;
|
||||
pipeline_.AssembleCode(linkage_);
|
||||
return SUCCEEDED;
|
||||
}
|
||||
|
||||
PipelineCompilationJob::Status PipelineCompilationJob::FinalizeJobImpl() {
|
||||
pipeline_.AssembleCode(linkage_);
|
||||
Handle<Code> code = pipeline_.FinalizeCode();
|
||||
if (code.is_null()) {
|
||||
if (info()->bailout_reason() == kNoReason) {
|
||||
|
Loading…
Reference in New Issue
Block a user