diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-06-06 11:15:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-06 20:15:24 +0200 |
commit | 61f2f1f5c5c563eefc8388c2b655ac816bcf676c (patch) | |
tree | d4cb88ecf8040f627a510a79b66cfe3460422f28 /compiler/ccgexprs.nim | |
parent | 336f1e63d0186ab283fdb9868a8f7d8d05293a31 (diff) | |
download | Nim-61f2f1f5c5c563eefc8388c2b655ac816bcf676c.tar.gz |
fix #14576 addr of param (including for lent) now works with nim js (#14577)
* fix #14576 addr(param) now works in nim js * workaround https://github.com/nim-lang/Nim/issues/14578
Diffstat (limited to 'compiler/ccgexprs.nim')
-rw-r--r-- | compiler/ccgexprs.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim index ec54081a2..2850ab750 100644 --- a/compiler/ccgexprs.nim +++ b/compiler/ccgexprs.nim @@ -141,6 +141,7 @@ proc genSetNode(p: BProc, n: PNode): Rope = result = genRawSetData(cs, size) proc getStorageLoc(n: PNode): TStorageLoc = + ## deadcode case n.kind of nkSym: case n.sym.kind |