summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmmExpr.hs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-07-27 14:45:24 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-07-27 14:45:24 +0000
commit1fede4bc9501744bf2269ce2a4cb9fb735969caa (patch)
treef21e2178bcc90c3e1d50c2b0e93a68b7bfd369d4 /compiler/codeGen/StgCmmExpr.hs
parentdd849158c84941f5e3714dd4df24e467854f0d91 (diff)
downloadhaskell-1fede4bc9501744bf2269ce2a4cb9fb735969caa.tar.gz
Remove old 'foreign import dotnet' code
It still lives in darcs, if anyone wants to revive it sometime.
Diffstat (limited to 'compiler/codeGen/StgCmmExpr.hs')
-rw-r--r--compiler/codeGen/StgCmmExpr.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/codeGen/StgCmmExpr.hs b/compiler/codeGen/StgCmmExpr.hs
index 2a0716ed24..8952f92bd2 100644
--- a/compiler/codeGen/StgCmmExpr.hs
+++ b/compiler/codeGen/StgCmmExpr.hs
@@ -320,7 +320,6 @@ isSimpleScrut _ _ = False
isSimpleOp :: StgOp -> Bool
-- True iff the op cannot block or allocate
isSimpleOp (StgFCallOp (CCall (CCallSpec _ _ safe)) _) = not (playSafe safe)
-isSimpleOp (StgFCallOp (DNCall _) _) = False -- Safe!
isSimpleOp (StgPrimOp op) = not (primOpOutOfLine op)
isSimpleOp (StgPrimCallOp _) = False