'noStackFrame' implies 'naked' in the generated C code

This commit is contained in:
Araq 2013-10-06 00:10:45 +02:00
commit ac474a2812
7 changed files with 25 additions and 14 deletions

View file

@ -211,6 +211,7 @@ proc ReplaceTypeVarsT*(cl: var TReplTypeVars, t: PType): PType =
result = ReplaceTypeVarsT(cl, lastSon(t))
of tyInt:
result = skipIntLit(t)
# XXX now there are also float literals
else:
if t.kind == tyArray:
let idxt = t.sons[0]