r4890@macbookpro: aamine | 2009-05-24 00:00:20 +0900

* net/loveruby/cflat/compiler/IRGenerator.java: refactoring: reorder stmts.
 


git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4233 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
Minero Aoki 2009-05-23 15:00:29 +00:00
parent a54e95aa16
commit 1e3eae4634
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sun May 24 00:01:07 2009 Minero Aoki <aamine@loveruby.net>
* net/loveruby/cflat/compiler/IRGenerator.java: refactoring:
reorder stmts.
Sat May 23 23:31:17 2009 Minero Aoki <aamine@loveruby.net> Sat May 23 23:31:17 2009 Minero Aoki <aamine@loveruby.net>
* net/loveruby/cflat/compiler/IRGenerator.java: refactoring: use * net/loveruby/cflat/compiler/IRGenerator.java: refactoring: use

View File

@ -492,10 +492,10 @@ class IRGenerator implements ASTVisitor<Void, Expr> {
// #@@range/SuffixOp{ // #@@range/SuffixOp{
public Expr visit(SuffixOpNode node) { public Expr visit(SuffixOpNode node) {
// #@@range/SuffixOp_init{ // #@@range/SuffixOp_init{
Location loc = node.location();
Type t = node.expr().type();
Expr expr = transformExpr(node.expr()); Expr expr = transformExpr(node.expr());
Type t = node.expr().type();
Op op = binOp(node.operator()); Op op = binOp(node.operator());
Location loc = node.location();
// #@@} // #@@}
if (isStatement()) { if (isStatement()) {