times: use posix constant instead of import (#11692)

* times: use posix constant instead of import

* simplify clock id usage

(cherry picked from commit cf36e4a44a)
This commit is contained in:
Jacek Sieka
2019-07-13 08:39:20 +02:00
committed by narimiran
parent 46cb304770
commit d5d661b70e
2 changed files with 4 additions and 12 deletions

View File

@@ -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