[tree-ssa] Gimplifying Java
Andrew Haley
aph@redhat.com
Fri Jun 13 15:07:00 GMT 2003
Is this one right? I thought the copy-in and out of the temporary was
necessary on some architectures.
*** 12780,12787 ****
tree assignment
= build (MODIFY_EXPR, TREE_TYPE (new_rhs), tmp, fold (new_rhs));
BLOCK_VARS (block) = tmp;
- BLOCK_EXPR_BODY (block)
- = build (COMPOUND_EXPR, TREE_TYPE (new_rhs), assignment, tmp);
TREE_SIDE_EFFECTS (block) = 1;
new_rhs = block;
}
--- 12794,12800 ----
tree assignment
= build (MODIFY_EXPR, TREE_TYPE (new_rhs), tmp, fold (new_rhs));
BLOCK_VARS (block) = tmp;
+ BLOCK_EXPR_BODY (block) = assignment;
TREE_SIDE_EFFECTS (block) = 1;
new_rhs = block;
}
Andrew.
More information about the Java-patches
mailing list