Commit ecbbf528 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Do not choose parallel recompilation when bootstrapping.

R=jkummerow@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/13878019

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14333 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent adf9afc0
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include "runtime-profiler.h" #include "runtime-profiler.h"
#include "assembler.h" #include "assembler.h"
#include "bootstrapper.h"
#include "code-stubs.h" #include "code-stubs.h"
#include "compilation-cache.h" #include "compilation-cache.h"
#include "deoptimizer.h" #include "deoptimizer.h"
...@@ -134,7 +135,7 @@ void RuntimeProfiler::Optimize(JSFunction* function, const char* reason) { ...@@ -134,7 +135,7 @@ void RuntimeProfiler::Optimize(JSFunction* function, const char* reason) {
PrintF("]\n"); PrintF("]\n");
} }
if (FLAG_parallel_recompilation) { if (FLAG_parallel_recompilation && !isolate_->bootstrapper()->IsActive()) {
ASSERT(!function->IsMarkedForInstallingRecompiledCode()); ASSERT(!function->IsMarkedForInstallingRecompiledCode());
ASSERT(!function->IsInRecompileQueue()); ASSERT(!function->IsInRecompileQueue());
function->MarkForParallelRecompilation(); function->MarkForParallelRecompilation();
......
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