# HG changeset patch # User Doug Simon # Date 1347527589 -7200 # Node ID f43a545b00970a6a1c5acc6de0498bc298085b81 # Parent 9b6b8626983a27989ca91d94f1556a8b6ea128ab removed need for calling Node.toString() when creating an InliningIdentifier diff -r 9b6b8626983a -r f43a545b0097 graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/util/InliningUtil.java --- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/util/InliningUtil.java Thu Sep 13 11:05:37 2012 +0200 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/util/InliningUtil.java Thu Sep 13 11:13:09 2012 +0200 @@ -802,7 +802,7 @@ * @param receiverNullCheck true if a null check needs to be generated for non-static inlinings, false if no such check is required */ public static void inline(Invoke invoke, StructuredGraph inlineGraph, boolean receiverNullCheck) { - InliningIdentifier identifier = new InliningIdentifier(inlineGraph.method(), invoke.toString()); + InliningIdentifier identifier = new InliningIdentifier(inlineGraph.method(), invoke); NodeInputList parameters = invoke.callTarget().arguments(); StructuredGraph graph = (StructuredGraph) invoke.node().graph(); diff -r 9b6b8626983a -r f43a545b0097 graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/FrameState.java --- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/FrameState.java Thu Sep 13 11:05:37 2012 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/FrameState.java Thu Sep 13 11:13:09 2012 +0200 @@ -44,9 +44,9 @@ */ public static final class InliningIdentifier { private final ResolvedJavaMethod method; - private final String context; + private final Object context; - public InliningIdentifier(ResolvedJavaMethod method, String context) { + public InliningIdentifier(ResolvedJavaMethod method, Object context) { this.method = method; this.context = context; }