summaryrefslogtreecommitdiff
path: root/compiler/codeGen
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-06-11 12:27:27 +0000
committerIan Lynagh <igloo@earth.li>2009-06-11 12:27:27 +0000
commitb48fc016e9b15c465ba2c2f1d42b6221bcd19b45 (patch)
tree8926fcc78fc38ef74caa74c62d4c13905c44a60d /compiler/codeGen
parentf73446118d7168e238868b591be748ab0997045c (diff)
downloadhaskell-b48fc016e9b15c465ba2c2f1d42b6221bcd19b45.tar.gz
Add missing StgPrimCallOp case to isSimpleOp
Diffstat (limited to 'compiler/codeGen')
-rw-r--r--compiler/codeGen/StgCmmExpr.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/codeGen/StgCmmExpr.hs b/compiler/codeGen/StgCmmExpr.hs
index 065005caf7..96b9e316c4 100644
--- a/compiler/codeGen/StgCmmExpr.hs
+++ b/compiler/codeGen/StgCmmExpr.hs
@@ -322,6 +322,7 @@ isSimpleOp :: StgOp -> Bool
isSimpleOp (StgFCallOp (CCall (CCallSpec _ _ safe)) _) = not (playSafe safe)
isSimpleOp (StgFCallOp (DNCall _) _) = False -- Safe!
isSimpleOp (StgPrimOp op) = not (primOpOutOfLine op)
+isSimpleOp (StgPrimCallOp _) = False
-----------------
chooseReturnBndrs :: Id -> AltType -> [StgAlt] -> [NonVoid Id]