(copy_rtx): A MEM with constant address is not sharable.

Undo Dec 27 change.

From-SVN: r3231
This commit is contained in:
Jim Wilson 1993-01-14 10:33:41 -08:00
parent 1dde5fd23a
commit cc81e6253b
1 changed files with 4 additions and 4 deletions

View File

@ -284,10 +284,10 @@ copy_rtx (orig)
return orig;
break;
case MEM:
if (CONSTANT_ADDRESS_P (XEXP (orig, 0)))
return orig;
break;
/* A MEM with a constant address is not sharable. The problem is that
the constant address may need to be reloaded. If the mem is shared,
then reloading one copy of this mem will cause all copies to appear
to have been reloaded. */
}
copy = rtx_alloc (code);