summary refs log tree commit diff stats
path: root/compiler/ccgexprs.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-06-06 11:15:24 -0700
committerGitHub <noreply@github.com>2020-06-06 20:15:24 +0200
commit61f2f1f5c5c563eefc8388c2b655ac816bcf676c (patch)
treed4cb88ecf8040f627a510a79b66cfe3460422f28 /compiler/ccgexprs.nim
parent336f1e63d0186ab283fdb9868a8f7d8d05293a31 (diff)
downloadNim-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.nim1
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