Mercurial > hg > graal-compiler
changeset 13282:dc4128904f0b
Make the guardsStage part of the hash for SnippetTemplate.CacheKey
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 05 Dec 2013 13:49:42 +0100 |
parents | 4a6787110408 |
children | 17c9afa0bfcb |
files | graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/SnippetTemplate.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/SnippetTemplate.java Tue Dec 10 19:23:55 2013 -0800 +++ b/graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/SnippetTemplate.java Thu Dec 05 13:49:42 2013 +0100 @@ -325,7 +325,7 @@ this.method = info.method; this.guardsStage = guardsStage; this.values = new Object[info.getParameterCount()]; - this.hash = info.method.hashCode(); + this.hash = info.method.hashCode() + 31 * guardsStage.hashCode(); } protected void setParam(int paramIdx, Object value) {