Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java @ 2637:152d4a8dc7ad
More frame state fixes.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 11 May 2011 11:57:11 +0200 |
parents | 0f69be73d5ce |
children | 8e96b2b3a866 |
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()); }