Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
2636:8c02ca1e9eb1 | 2637:152d4a8dc7ad |
---|---|
466 builder.pop(invoke.kind); | 466 builder.pop(invoke.kind); |
467 } | 467 } |
468 int argumentCount = invoke.argumentCount(); // invoke.arguments() iterable? | 468 int argumentCount = invoke.argumentCount(); // invoke.arguments() iterable? |
469 for (int i = 0; i < argumentCount; i++) { | 469 for (int i = 0; i < argumentCount; i++) { |
470 Value arg = invoke.argument(i); | 470 Value arg = invoke.argument(i); |
471 builder.push(arg.kind, arg); | 471 if (arg != null) { |
472 builder.push(arg.kind, arg); | |
473 } | |
472 } | 474 } |
473 return builder.create(invoke.bci()); | 475 return builder.create(invoke.bci()); |
474 } | 476 } |
475 | 477 |
476 @Override | 478 @Override |