summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/PPC/CodeGen.hs
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2011-12-22 14:48:56 -0800
committerDavid Terei <davidterei@gmail.com>2012-01-05 17:05:44 -0800
commit419af4e718b3c79ee814fb36bd6f5da5e06e7001 (patch)
tree509f68331328c1147e16ea019260e85dacf50516 /compiler/nativeGen/PPC/CodeGen.hs
parentccba0c2275f16d816e212448466a60866fe5183f (diff)
downloadhaskell-419af4e718b3c79ee814fb36bd6f5da5e06e7001.tar.gz
Remove unused arg field of CmmReturn
Diffstat (limited to 'compiler/nativeGen/PPC/CodeGen.hs')
-rw-r--r--compiler/nativeGen/PPC/CodeGen.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nativeGen/PPC/CodeGen.hs b/compiler/nativeGen/PPC/CodeGen.hs
index 6d91bacb31..8b96f7140a 100644
--- a/compiler/nativeGen/PPC/CodeGen.hs
+++ b/compiler/nativeGen/PPC/CodeGen.hs
@@ -142,7 +142,7 @@ stmtToInstrs stmt = do
CmmCondBranch arg id -> genCondJump id arg
CmmSwitch arg ids -> genSwitch arg ids
CmmJump arg -> genJump arg
- CmmReturn _ ->
+ CmmReturn ->
panic "stmtToInstrs: return statement should have been cps'd away"