Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/ExceptionHandler.java @ 13307:c9dd3d5000e8
added ExceptionHandler.hashCode() to remove Eclipse warning
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 13 Dec 2013 10:39:15 +0100 |
parents | a63d65b682a8 |
children | 8c4a3d9308a7 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/ExceptionHandler.java Thu Dec 12 14:56:52 2013 -0800 +++ b/graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/ExceptionHandler.java Fri Dec 13 10:39:15 2013 +0100 @@ -111,4 +111,9 @@ public String toString() { return "ExceptionHandler<startBCI=" + startBCI + ", endBCI=" + endBCI + ", handlerBCI=" + handlerBCI + ", catchTypeCPI=" + catchTypeCPI + ", catchType=" + catchType + ">"; } + + @Override + public int hashCode() { + return catchTypeCPI ^ endBCI ^ handlerBCI; + } }