changeset 9529:afbb1b5a0eaa

TypeProfileProxy: add missing return
author Bernhard Urban <bernhard.urban@jku.at>
date Thu, 02 May 2013 20:53:27 +0200
parents 2c540cdf4af9
children 2777aafe689b
files graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/TypeProfileProxyNode.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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());