projects
/
matthijs
/
master-project
/
cλash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
404a426
)
A word has a width, not a length.
author
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Thu, 9 Apr 2009 16:25:53 +0000
(18:25 +0200)
committer
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Thu, 9 Apr 2009 16:25:53 +0000
(18:25 +0200)
CoreTools.hs
patch
|
blob
|
history
diff --git
a/CoreTools.hs
b/CoreTools.hs
index a9114565c9aca9c732bc1c73848637b53a787f79..06b7a62388a4c00446737e026bed7e03bf974d4b 100644
(file)
--- a/
CoreTools.hs
+++ b/
CoreTools.hs
@@
-46,7
+46,7
@@
eval_tfp_int ty =
core <- toCore modules expr
execCore core
--- | Get the
leng
th of a SizedWord type
+-- | Get the
wid
th of a SizedWord type
sized_word_len :: Type.Type -> Int
sized_word_len ty =
eval_tfp_int len