Revision: 7154
Author: [email protected]
Date: Mon Mar 14 04:26:19 2011
Log: When aborting optimization attempts for a function, make sure
to clear any eager optimizing hints in the compilation cache.
Review URL: http://codereview.chromium.org/6681031
http://code.google.com/p/v8/source/detail?r=7154
Modified:
/branches/bleeding_edge/src/compiler.cc
=======================================
--- /branches/bleeding_edge/src/compiler.cc Thu Mar 10 05:26:51 2011
+++ /branches/bleeding_edge/src/compiler.cc Mon Mar 14 04:26:19 2011
@@ -172,6 +172,7 @@
ASSERT(code->kind() == Code::FUNCTION);
code->set_optimizable(false);
info->SetCode(code);
+ CompilationCache::MarkForLazyOptimizing(info->closure());
if (FLAG_trace_opt) {
PrintF("[disabled optimization for: ");
info->closure()->PrintName();
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev