From c1c10b452f99bacc92fefbb8643fd350e7d4c41b Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Mon, 8 Jul 2013 09:29:49 +0000 Subject: [PATCH] Remove bogus assertion in parallel recompilation. Functions that are optimized by the parallel thread and ready for installing are not necessarily marked as in-recompilation-queue. For example, OSR could have replaced the code by optimized code. R=hpayer@chromium.org BUG= Review URL: https://codereview.chromium.org/18769003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15544 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/objects.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/objects.cc b/src/objects.cc index 8147106..91be246 100644 --- a/src/objects.cc +++ b/src/objects.cc @@ -9175,7 +9175,6 @@ void JSFunction::MarkForParallelRecompilation() { void JSFunction::MarkForInstallingRecompiledCode() { // The debugger could have switched the builtin to lazy compile. // In that case, simply carry on. It will be dealt with later. - ASSERT(IsInRecompileQueue() || GetIsolate()->DebuggerHasBreakPoints()); ASSERT(!IsOptimized()); ASSERT(shared()->allows_lazy_compilation() || code()->optimizable()); ASSERT(FLAG_parallel_recompilation); -- 2.7.4