Commit 45ad04fd authored by mstarzinger's avatar mstarzinger Committed by Commit bot

[compiler] Remove remnants from concurrent OSR.

This removes some obsolete conditions checking whether we are performing
concurrent OSR compilation. This feature has been removed some time ago.

R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/1901163003

Cr-Commit-Position: refs/heads/master@{#35646}
parent 37f4cf18
......@@ -775,11 +775,7 @@ bool GetOptimizedCodeLater(CompilationInfo* info) {
if (FLAG_trace_concurrent_recompilation) {
PrintF(" ** Queued ");
info->closure()->ShortPrint();
if (info->is_osr()) {
PrintF(" for concurrent OSR at %d.\n", info->osr_ast_id().ToInt());
} else {
PrintF(" for concurrent optimization.\n");
}
PrintF(" for concurrent optimization.\n");
}
return true;
}
......
......@@ -96,10 +96,8 @@ OptimizedCompileJob* OptimizingCompileDispatcher::NextInput(
input_queue_length_--;
if (check_if_flushing) {
if (static_cast<ModeFlag>(base::Acquire_Load(&mode_)) == FLUSH) {
if (!job->info()->is_osr()) {
AllowHandleDereference allow_handle_dereference;
DisposeOptimizedCompileJob(job, true);
}
AllowHandleDereference allow_handle_dereference;
DisposeOptimizedCompileJob(job, true);
return NULL;
}
}
......@@ -134,10 +132,7 @@ void OptimizingCompileDispatcher::FlushOutputQueue(bool restore_function_code) {
output_queue_.pop();
}
// OSR jobs are dealt with separately.
if (!job->info()->is_osr()) {
DisposeOptimizedCompileJob(job, restore_function_code);
}
DisposeOptimizedCompileJob(job, restore_function_code);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment