Mercurial > hg > graal-compiler
changeset 2656:37f067e76c6f
Removed need for state after on load indexed, and new bytecodes.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 11 May 2011 15:23:07 +0200 |
parents | df5de2a207ca |
children | 4a6518c4d17d |
files | graal/GraalCompiler/src/com/sun/c1x/ir/LoadIndexed.java graal/GraalCompiler/src/com/sun/c1x/ir/NewArray.java graal/GraalCompiler/src/com/sun/c1x/ir/NewInstance.java |
diffstat | 3 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/LoadIndexed.java Wed May 11 15:16:43 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/LoadIndexed.java Wed May 11 15:23:07 2011 +0200 @@ -80,4 +80,9 @@ public void print(LogStream out) { out.print(array()).print('[').print(index()).print("] (").print(kind.typeChar).print(')'); } + + @Override + public boolean needsStateAfter() { + return false; + } }
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/NewArray.java Wed May 11 15:16:43 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/NewArray.java Wed May 11 15:23:07 2011 +0200 @@ -74,4 +74,9 @@ public boolean canTrap() { return true; } + + @Override + public boolean needsStateAfter() { + return false; + } }
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/NewInstance.java Wed May 11 15:16:43 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/NewInstance.java Wed May 11 15:23:07 2011 +0200 @@ -86,4 +86,9 @@ public void print(LogStream out) { out.print("new instance ").print(CiUtil.toJavaName(instanceClass())); } + + @Override + public boolean needsStateAfter() { + return false; + } }