# HG changeset patch # User Erik Eckstein # Date 1395996462 -3600 # Node ID a8dce92315a221501f5ea10be68feb86d9e0d8cd # Parent 3efd4d8ace0bb07cee456dc8286782df01ba9329# Parent 89a079df9cb407ae7a0841d81df66763acc92d18 Revert wrong change in InliningUtil diff -r 3efd4d8ace0b -r a8dce92315a2 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 Fri Mar 28 09:05:22 2014 +0100 +++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/InliningUtil.java Fri Mar 28 09:47:42 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,