Commit c9ecc336 by Ranjit Mathew Committed by Ranjit Mathew

* java-gimplify.c (java_gimplify_expr): Correct minor typos.

From-SVN: r81825
parent fc55c95e
2004-05-14 Ranjit Mathew <rmathew@hotmail.com>
* java-gimplify.c (java_gimplify_expr): Correct minor typos.
2004-05-13 Diego Novillo <dnovillo@redhat.com> 2004-05-13 Diego Novillo <dnovillo@redhat.com>
Merge from tree-ssa-20020619-branch. See Merge from tree-ssa-20020619-branch. See
......
/* Java(TM) language-specific gimplification routines. /* Java(TM) language-specific gimplification routines.
Copyright (C) 2003 Free Software Foundation, Inc. Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -63,10 +63,10 @@ java_gimplify_expr (tree *expr_p, tree *pre_p ATTRIBUTE_UNUSED, ...@@ -63,10 +63,10 @@ java_gimplify_expr (tree *expr_p, tree *pre_p ATTRIBUTE_UNUSED,
char code_class = TREE_CODE_CLASS(TREE_CODE (*expr_p)); char code_class = TREE_CODE_CLASS(TREE_CODE (*expr_p));
/* Java insists on strict left-to-right evaluation of expressions. /* Java insists on strict left-to-right evaluation of expressions.
A problem may arise if a variable used in the lhs of a binary A problem may arise if a variable used in the LHS of a binary
operation is altered by an assignment to that value in the rhs operation is altered by an assignment to that value in the RHS
before we've performed the operation. So, we always copy every before we've performed the operation. So, we always copy every
LHS to a temprorary variable. LHS to a temporary variable.
FIXME: Are there any other cases where we should do this? FIXME: Are there any other cases where we should do this?
Parameter lists, maybe? Or perhaps that's unnecessary because Parameter lists, maybe? Or perhaps that's unnecessary because
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment