diff options
author | Clyybber <darkmine956@gmail.com> | 2020-08-28 22:18:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 22:18:09 +0200 |
commit | 13e659cfec83eb3c2c3c2bbbf10d01ba59bc0d5b (patch) | |
tree | 6df6a9dfc3b5f0ba7f27452c8f84b55a957b73ba /compiler/cgen.nim | |
parent | f8c48fc1863a243718acf86b699baed1a5c1512e (diff) | |
download | Nim-13e659cfec83eb3c2c3c2bbbf10d01ba59bc0d5b.tar.gz |
Big compiler Cleanup (#14777)
Diffstat (limited to 'compiler/cgen.nim')
-rw-r--r-- | compiler/cgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim index 86860fbf4..d40aa32d7 100644 --- a/compiler/cgen.nim +++ b/compiler/cgen.nim @@ -681,7 +681,7 @@ proc loadDynamicLib(m: BModule, lib: PLib) = [loadlib, genStringLiteral(m, lib.path)]) else: var p = newProc(nil, m) - p.options = p.options - {optStackTrace} + p.options.excl optStackTrace p.flags.incl nimErrorFlagDisabled var dest: TLoc initLoc(dest, locTemp, lib.path, OnStack) |