summary refs log tree commit diff stats
path: root/compiler/main.nim
diff options
context:
space:
mode:
authorJacek Sieka <arnetheduck@gmail.com>2019-07-13 08:39:20 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-07-13 08:39:20 +0200
commitcf36e4a44a0436ae8b798311ced2e20f513e12d9 (patch)
tree6be12d9cab6afe42d5eca553ed0d18235cc36472 /compiler/main.nim
parentde1ede77fe91170269d5bf54a01e61ff95f6dc56 (diff)
downloadNim-cf36e4a44a0436ae8b798311ced2e20f513e12d9.tar.gz
times: use posix constant instead of import (#11692)
* times: use posix constant instead of import

* simplify clock id usage
Diffstat (limited to 'compiler/main.nim')
-rw-r--r--compiler/main.nim3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/main.nim b/compiler/main.nim
index c16afafbe..460fd90c7 100644
--- a/compiler/main.nim
+++ b/compiler/main.nim
@@ -26,9 +26,6 @@ when not defined(leanCompiler):
 
 from magicsys import resetSysTypes
 
-proc codegenPass(g: ModuleGraph) =
-  registerPass g, cgenPass
-
 proc semanticPasses(g: ModuleGraph) =
   registerPass g, verbosePass
   registerPass g, semPass