diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/cgen.nim | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim index 24364a9fd..2fde0e9ff 100644 --- a/compiler/cgen.nim +++ b/compiler/cgen.nim @@ -1940,9 +1940,6 @@ proc genInitCode(m: BModule) = if optStackTrace in m.initProc.options and preventStackTrace notin m.flags: prc.add(deinitFrame(m.initProc)) - elif m.config.exc == excGoto: - if getCompilerProc(m.g.graph, "nimTestErrorFlag") != nil: - m.appcg(prc, "\t#nimTestErrorFlag();$n", []) prc.addf("}$N", []) |