Mercurial > hg > truffle
changeset 2637:152d4a8dc7ad
More frame state fixes.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 11 May 2011 11:57:11 +0200 |
parents | 8c02ca1e9eb1 |
children | 3e47aeb60ab3 |
files | graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java Wed May 11 11:43:44 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java Wed May 11 11:57:11 2011 +0200 @@ -468,7 +468,9 @@ int argumentCount = invoke.argumentCount(); // invoke.arguments() iterable? for (int i = 0; i < argumentCount; i++) { Value arg = invoke.argument(i); - builder.push(arg.kind, arg); + if (arg != null) { + builder.push(arg.kind, arg); + } } return builder.create(invoke.bci()); }