Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 50db8e067b513a66ee8980f89c3375f4391de87f..47634ec22b285d3ea0485ec9748ebe564b09220e 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1067,7 +1067,7 @@ Handle<Code> Compiler::InstallOptimizedCode( |
info->closure()->PrintName(); |
PrintF(" as it has been disabled.\n"); |
} |
- ASSERT(!info->closure()->IsMarkedForInstallingRecompiledCode()); |
+ ASSERT(!info->closure()->IsInRecompileQueue()); |
return Handle<Code>::null(); |
} |
@@ -1114,7 +1114,7 @@ Handle<Code> Compiler::InstallOptimizedCode( |
// Optimized code is finally replacing unoptimized code. Reset the latter's |
// profiler ticks to prevent too soon re-opt after a deopt. |
info->shared_info()->code()->set_profiler_ticks(0); |
- ASSERT(!info->closure()->IsMarkedForInstallingRecompiledCode()); |
+ ASSERT(!info->closure()->IsInRecompileQueue()); |
return (status == OptimizingCompiler::SUCCEEDED) ? info->code() |
: Handle<Code>::null(); |
} |