Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
f2eb50cc
Commit
f2eb50cc
authored
Aug 31, 2007
by
rl@cse.unsw.edu.au
Browse files
Number data constructors from 0 when vectorising
parent
17f77282
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/vectorise/VectUtils.hs
View file @
f2eb50cc
...
...
@@ -68,7 +68,7 @@ isAnnTypeArg (_, AnnType t) = True
isAnnTypeArg
_
=
False
mkDataConTag
::
DataCon
->
CoreExpr
mkDataConTag
=
mkIntLitInt
.
dataConTag
mkDataConTag
con
=
mkIntLitInt
(
dataConTag
con
-
fIRST_TAG
)
splitUnTy
::
String
->
Name
->
Type
->
Type
splitUnTy
s
name
ty
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment