changeset 14869:89a079df9cb4

Backout changeset ae7cbf13e765708f228be3e2e666e13d421bbd8e
author Erik Eckstein <erik.eckstein@oracle.com>
date Fri, 28 Mar 2014 09:18:18 +0100
parents ae7cbf13e765
children a8dce92315a2
files graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/InliningUtil.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/InliningUtil.java	Fri Mar 28 08:26:21 2014 +0100
+++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/InliningUtil.java	Fri Mar 28 09:18:18 2014 +0100
@@ -174,7 +174,7 @@
     public static void logInliningDecision(final String msg, final Object... args) {
         try (Scope s = Debug.scope(inliningDecisionsScopeString)) {
             // Can't use log here since we are varargs
-            if (Debug.isEnabled()) {
+            if (Debug.isLogEnabled()) {
                 Debug.logv(msg, args);
             }
         }
@@ -1040,7 +1040,7 @@
 
     /**
      * Determines if inlining is possible at the given invoke node.
-     *
+     * 
      * @param invoke the invoke that should be inlined
      * @return an instance of InlineInfo, or null if no inlining is possible at the given invoke
      */
@@ -1304,7 +1304,7 @@
 
     /**
      * Performs an actual inlining, thereby replacing the given invoke with the given inlineGraph.
-     *
+     * 
      * @param invoke the invoke that will be replaced
      * @param inlineGraph the graph that the invoke will be replaced with
      * @param receiverNullCheck true if a null check needs to be generated for non-static inlinings,