parse.y (patch_assignment): Only transform the rhs of an assignment when compiling to native.

* parse.y (patch_assignment): Only transform the rhs of an
	assignment when compiling to native.

From-SVN: r62104
This commit is contained in:
Tom Tromey 2003-01-29 18:48:41 +00:00 committed by Tom Tromey
parent c4039eb00f
commit c78f2b91f5
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-01-29 Tom Tromey <tromey@redhat.com>
* parse.y (patch_assignment): Only transform the rhs of an
assignment when compiling to native.
2003-01-28 Tom Tromey <tromey@redhat.com>
* jcf-write.c (generate_bytecode_conditional): Typo fixes.

View File

@ -12640,7 +12640,7 @@ patch_assignment (tree node, tree wfl_op1)
}
/* Copy the rhs if it's a reference. */
if (! flag_check_references && optimize > 0)
if (! flag_check_references && ! flag_emit_class_files && optimize > 0)
{
switch (TREE_CODE (new_rhs))
{