|
From: <sv...@va...> - 2009-06-02 12:49:00
|
Author: sewardj
Date: 2009-06-02 13:39:33 +0100 (Tue, 02 Jun 2009)
New Revision: 1899
Log:
guestAccessWhichMightOverlapPutI: handle IRStmt_CAS.
Modified:
branches/DCAS/priv/ir/iropt.c
Modified: branches/DCAS/priv/ir/iropt.c
===================================================================
--- branches/DCAS/priv/ir/iropt.c 2009-06-02 08:18:56 UTC (rev 1898)
+++ branches/DCAS/priv/ir/iropt.c 2009-06-02 12:39:33 UTC (rev 1899)
@@ -3033,6 +3033,13 @@
/* just be paranoid ... these should be rare. */
return True;
+ case Ist_CAS:
+ /* This is unbelievably lame, but it's probably not
+ significant from a performance point of view. Really, a
+ CAS is a load-store op, so it should be safe to say False.
+ However .. */
+ return True;
+
case Ist_Dirty:
/* If the dirty call has any guest effects at all, give up.
Probably could do better. */
|