Mercurial > hg > graal-compiler
changeset 11679:f7a09339e29b
Do not create type profile proxies for receiver objects if optimistic optimization UseTypeCheckHints is disabled.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 17 Sep 2013 16:22:17 +0200 |
parents | 89e9476040de |
children | 524d0a0a47b8 |
files | graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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); }