projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9d899ef
)
Fix bug in lifted environment inspection code
author
Roman Leshchinskiy
<rl@cse.unsw.edu.au>
Mon, 16 Jul 2007 07:23:38 +0000
(07:23 +0000)
committer
Roman Leshchinskiy
<rl@cse.unsw.edu.au>
Mon, 16 Jul 2007 07:23:38 +0000
(07:23 +0000)
compiler/vectorise/Vectorise.hs
patch
|
blob
|
history
diff --git
a/compiler/vectorise/Vectorise.hs
b/compiler/vectorise/Vectorise.hs
index
a42298f
..
d5b78f1
100644
(file)
--- a/
compiler/vectorise/Vectorise.hs
+++ b/
compiler/vectorise/Vectorise.hs
@@
-404,7
+404,7
@@
mkClosureMonoFns info arg body
return . Let (NonRec lbndr lenv)
$ Case (mkApps (Var lengthPA) [Type vty, (Var lbndr)])
lc_bndr
- intPrimTy
+ (exprType lbody)
[(DEFAULT, [], lbody)]
bind_lenv lenv lbody lc_bndr lbndrs