# HG changeset patch # User Thomas Wuerthinger # Date 1305107831 -7200 # Node ID 152d4a8dc7adc5bfc1f91bc048938a1f4e4e94d4 # Parent 8c02ca1e9eb1cbbd755387a797fbf8ce420ddad0 More frame state fixes. diff -r 8c02ca1e9eb1 -r 152d4a8dc7ad graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java --- 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()); }