This commit is contained in:
Araq 2013-05-04 02:22:38 +02:00
commit 3aa36a8568
4 changed files with 19 additions and 3 deletions

View file

@ -600,6 +600,7 @@ proc loadDynamicLib(m: BModule, lib: PLib) =
[loadlib, getStrLit(m, lib.path.strVal)])
else:
var p = newProc(nil, m)
p.options = p.options - {optStackTrace, optEndb}
var dest: TLoc
initLocExpr(p, lib.path, dest)
app(m.s[cfsVars], p.s(cpsLocals))