# HG changeset patch # User Thomas Wuerthinger # Date 1379427737 -7200 # Node ID f7a09339e29bc8695d4bd1027250c6bb069875b8 # Parent 89e9476040de8f4fb035b834688e0063f8a5bdc1 Do not create type profile proxies for receiver objects if optimistic optimization UseTypeCheckHints is disabled. diff -r 89e9476040de -r f7a09339e29b graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java --- a/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java Tue Sep 17 10:34:26 2013 +0200 +++ b/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java Tue Sep 17 16:22:17 2013 +0200 @@ -1176,7 +1176,7 @@ } if (invokeKind != InvokeKind.Static) { emitExplicitExceptions(args[0], null); - if (invokeKind != InvokeKind.Special) { + if (invokeKind != InvokeKind.Special && this.optimisticOpts.useTypeCheckHints()) { JavaTypeProfile profile = profilingInfo.getTypeProfile(bci()); args[0] = TypeProfileProxyNode.create(args[0], profile); }