diff options
author | SirOlaf <34164198+SirOlaf@users.noreply.github.com> | 2023-10-11 21:05:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-11 21:05:51 +0200 |
commit | 68ba45cc04bedb5f39f7bff659065e137e86053d (patch) | |
tree | 322cd2a336b8dbc6a0550c7c41a83aca6fc37044 | |
parent | 816589b6674e3af281766f1279420758dcacedc4 (diff) | |
download | Nim-68ba45cc04bedb5f39f7bff659065e137e86053d.tar.gz |
Import std/stackframes in ast2ir.nim (#22815)
Ref https://github.com/nim-lang/Nim/pull/22777#issuecomment-1758090410 Co-authored-by: SirOlaf <>
-rw-r--r-- | compiler/nir/ast2ir.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/nir/ast2ir.nim b/compiler/nir/ast2ir.nim index f06bb3ae8..bc7348be3 100644 --- a/compiler/nir/ast2ir.nim +++ b/compiler/nir/ast2ir.nim @@ -17,6 +17,9 @@ import .. / ic / bitabs import nirtypes, nirinsts, nirlineinfos, nirslots, types2ir +when defined(nimCompilerStacktraceHints): + import std/stackframes + type ModuleCon* = ref object strings*: BiTable[string] |