Revision: 10836
Author: [email protected]
Date: Mon Feb 27 00:11:04 2012
Log: Profiler experiments: Don't add self-optimization headers to
functions that can't be optimized anyway
Review URL: https://chromiumcodereview.appspot.com/9460058
http://code.google.com/p/v8/source/detail?r=10836
Modified:
/branches/bleeding_edge/src/compiler.cc
=======================================
--- /branches/bleeding_edge/src/compiler.cc Mon Feb 20 05:48:24 2012
+++ /branches/bleeding_edge/src/compiler.cc Mon Feb 27 00:11:04 2012
@@ -118,6 +118,7 @@
FLAG_crankshaft &&
!Serializer::enabled() &&
!function()->flags()->Contains(kDontSelfOptimize) &&
+ !function()->flags()->Contains(kDontOptimize) &&
(shared_info().is_null() || !shared_info()->optimization_disabled());
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev