Mercurial > hg > graal-compiler
changeset 14870:a8dce92315a2
Revert wrong change in InliningUtil
author | Erik Eckstein <erik.eckstein@oracle.com> |
---|---|
date | Fri, 28 Mar 2014 09:47:42 +0100 |
parents | 3efd4d8ace0b (current diff) 89a079df9cb4 (diff) |
children | 667710021ea1 |
files | |
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 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,