summary refs log tree commit diff stats
path: root/compiler/ccgutils.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ccgutils.nim')
-rw-r--r--compiler/ccgutils.nim4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/ccgutils.nim b/compiler/ccgutils.nim
index fe28d2209..48648bdde 100644
--- a/compiler/ccgutils.nim
+++ b/compiler/ccgutils.nim
@@ -211,8 +211,4 @@ proc mangle*(name: string): string =
   if requiresUnderscore:
     result.add "_"
 
-proc emitLazily*(s: PSym): bool {.inline.} =
-  result = optDeadCodeElim in gGlobalOptions or
-           sfDeadCodeElim in getModule(s).flags
-
 initTypeTables()