# HG changeset patch # User Bernhard Urban # Date 1367520807 -7200 # Node ID afbb1b5a0eaa9787011028ee339c0652f88a96e3 # Parent 2c540cdf4af930e108be707e3e08ea5879495a69 TypeProfileProxy: add missing return diff -r 2c540cdf4af9 -r afbb1b5a0eaa graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/TypeProfileProxyNode.java --- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/TypeProfileProxyNode.java Fri May 03 02:16:20 2013 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/TypeProfileProxyNode.java Thu May 02 20:53:27 2013 +0200 @@ -108,6 +108,7 @@ } if (type == lastCheckedType) { // We have already incorporate the knowledge about this type => abort. + return this; } lastCheckedType = type; JavaTypeProfile newProfile = this.profile.restrict(type, object.objectStamp().nonNull());