alias analysis as required for the code gen and the HLO
This commit is contained in:
parent
c6213c9774
commit
2962ca7890
12 changed files with 262 additions and 80 deletions
|
|
@ -1024,7 +1024,6 @@ proc computeSize(typ: PType): biggestInt =
|
|||
proc getReturnType*(s: PSym): PType =
|
||||
# Obtains the return type of a iterator/proc/macro/template
|
||||
assert s.kind in {skProc, skTemplate, skMacro, skIterator}
|
||||
# XXX ask Zahary if this change broke something
|
||||
result = s.typ.sons[0]
|
||||
|
||||
proc getSize(typ: PType): biggestInt =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue