Add back missing allow handle deref scope

BUG=v8:3608
R=svenpanne@chromium.org
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#26828}
This commit is contained in:
jochen 2015-02-24 08:32:05 -08:00 committed by Commit bot
parent 35cc692aec
commit e093f3ba39

View File

@ -169,7 +169,10 @@ OptimizedCompileJob* OptimizingCompilerThread::NextInput(
input_queue_length_--;
if (check_if_flushing) {
if (static_cast<StopFlag>(base::Acquire_Load(&stop_thread_)) != CONTINUE) {
if (!job->info()->is_osr()) DisposeOptimizedCompileJob(job, true);
if (!job->info()->is_osr()) {
AllowHandleDereference allow_handle_dereference;
DisposeOptimizedCompileJob(job, true);
}
return NULL;
}
}