harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfur...@apache.org
Subject svn commit: r596567 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/helper_inliner.cpp
Date Tue, 20 Nov 2007 08:31:40 GMT
Author: mfursov
Date: Tue Nov 20 00:31:39 2007
New Revision: 596567

URL: http://svn.apache.org/viewvc?rev=596567&view=rev
Log:
[drlvm][jit] making 'hotness_percent' value for magic helpers inclusive for inlining

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/helper_inliner.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/helper_inliner.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/helper_inliner.cpp?rev=596567&r1=596566&r2=596567&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/helper_inliner.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/helper_inliner.cpp Tue Nov 20 00:31:39
2007
@@ -179,7 +179,7 @@
                     continue;
                 }
                 HelperConfig* config = iconf->second;
-                if (!config->doInlining || config->hotnessPercentToInline >= nodePercent)
{
+                if (!config->doInlining || nodePercent < config->hotnessPercentToInline)
{
                     continue;
                 }
                 MethodDesc* md = HelperInliner::findHelperMethod(cc->getVMCompilationInterface(),
helperId);



Mime
View raw message