summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/RegAlloc/Liveness.hs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-12-09 10:20:13 +0000
committerSimon Marlow <marlowsd@gmail.com>2011-12-13 08:58:57 +0000
commit5c1fbb46e8e64c81d887762207334731669adcc2 (patch)
tree78f91879121c049a2d2a0b6c9501f72c1e3a3a80 /compiler/nativeGen/RegAlloc/Liveness.hs
parentc9f84e1484ccc53ac0b785ee720202e8aa3388be (diff)
downloadhaskell-5c1fbb46e8e64c81d887762207334731669adcc2.tar.gz
some small optimisations
Diffstat (limited to 'compiler/nativeGen/RegAlloc/Liveness.hs')
-rw-r--r--compiler/nativeGen/RegAlloc/Liveness.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nativeGen/RegAlloc/Liveness.hs b/compiler/nativeGen/RegAlloc/Liveness.hs
index 993156a67e..0212e8cb16 100644
--- a/compiler/nativeGen/RegAlloc/Liveness.hs
+++ b/compiler/nativeGen/RegAlloc/Liveness.hs
@@ -912,7 +912,7 @@ liveness1 liveregs blockmap (LiveInstr instr _)
, liveDieWrite = mkUniqSet w_dying }))
where
- RU read written = regUsageOfInstr instr
+ !(RU read written) = regUsageOfInstr instr
-- registers that were written here are dead going backwards.
-- registers that were read here are live going backwards.