# HG changeset patch # User Erik Eckstein # Date 1395991581 -3600 # Node ID ae7cbf13e765708f228be3e2e666e13d421bbd8e # Parent ea712c41c5a23ed19df55c387d21ed235c3df9cc correct guarding of Debug.logv in InliningUtil diff -r ea712c41c5a2 -r ae7cbf13e765 graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/InliningUtil.java --- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/InliningUtil.java Thu Mar 27 22:17:54 2014 -0700 +++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/InliningUtil.java Fri Mar 28 08:26:21 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.isLogEnabled()) { + if (Debug.isEnabled()) { 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,