summary refs log tree commit diff stats
path: root/compiler/ccgstmts.nim
diff options
context:
space:
mode:
authorJacek Sieka <arnetheduck@gmail.com>2016-07-30 16:19:53 +0800
committerJacek Sieka <arnetheduck@gmail.com>2016-07-30 16:19:53 +0800
commit7d62f031f64dd84690c7b97c086ce5bfbad8de8f (patch)
tree34f8d8f7be63f84be69ba1a8b7fcbb356dc7c5b1 /compiler/ccgstmts.nim
parenta8edf67a280155a33b57785866d41fca249b9909 (diff)
downloadNim-7d62f031f64dd84690c7b97c086ce5bfbad8de8f.tar.gz
remove sfFakeConst
Diffstat (limited to 'compiler/ccgstmts.nim')
-rw-r--r--compiler/ccgstmts.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/ccgstmts.nim b/compiler/ccgstmts.nim
index 4836527a2..a5ce147c3 100644
--- a/compiler/ccgstmts.nim
+++ b/compiler/ccgstmts.nim
@@ -269,8 +269,6 @@ proc genConstStmt(p: BProc, t: PNode) =
     if it.kind != nkConstDef: internalError(t.info, "genConstStmt")
     var c = it.sons[0].sym
     if c.typ.containsCompileTimeOnly: continue
-    if sfFakeConst in c.flags:
-      genSingleVar(p, it)
     elif c.typ.kind in ConstantDataTypes and lfNoDecl notin c.loc.flags and
         c.ast.len != 0:
       if not emitLazily(c): requestConstImpl(p, c)