projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9b1dfb
)
[project @ 2000-12-19 08:34:40 by simonpj]
author
simonpj
<unknown>
Tue, 19 Dec 2000 08:34:40 +0000
(08:34 +0000)
committer
simonpj
<unknown>
Tue, 19 Dec 2000 08:34:40 +0000
(08:34 +0000)
Add comment
ghc/compiler/basicTypes/Id.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/basicTypes/Id.lhs
b/ghc/compiler/basicTypes/Id.lhs
index
64f32ff
..
495ee67
100644
(file)
--- a/
ghc/compiler/basicTypes/Id.lhs
+++ b/
ghc/compiler/basicTypes/Id.lhs
@@
-160,6
+160,7
@@
mkTemplateLocals tys = zipWith (mkSysLocal SLIT("tpl"))
tys
mkTemplateLocalsNum :: Int -> [Type] -> [Id]
+-- The Int gives the starting point for unique allocation
mkTemplateLocalsNum n tys = zipWith (mkSysLocal SLIT("tpl"))
(getNumBuiltinUniques n (length tys))
tys