diff options
author | Araq <rumpf_a@web.de> | 2014-02-01 23:57:09 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-02-01 23:57:09 +0100 |
commit | 31f3034c3a93a7f056863db51ede65d2ebf66db6 (patch) | |
tree | b74e2bf1599f4aa7cc3738df2494cf6c75649cb8 /compiler | |
parent | 68d8cd1301b301b4ebfa41dd7ae8714e28cbe721 (diff) | |
download | Nim-31f3034c3a93a7f056863db51ede65d2ebf66db6.tar.gz |
case consistency for evalffi
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/main.nim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index cdea7b5ca..f6d11d960 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -135,7 +135,7 @@ proc interactivePasses = #setTarget(osNimrodVM, cpuNimrodVM) initDefines() defineSymbol("nimrodvm") - when hasFFI: DefineSymbol("nimffi") + when hasFFI: defineSymbol("nimffi") registerPass(verbosePass) registerPass(semPass) registerPass(evalPass) @@ -324,7 +324,7 @@ proc mainCommand* = wantMainModule() when hasTinyCBackend: extccomp.setCC("tcc") - CommandCompileToC() + commandCompileToC() else: rawMessage(errInvalidCommandX, command) of "js", "compiletojs": @@ -450,7 +450,8 @@ proc mainCommand* = echo " tries : ", gCacheTries echo " misses: ", gCacheMisses echo " int tries: ", gCacheIntTries - echo " efficiency: ", formatFloat(1-(gCacheMisses.float/gCacheTries.float), ffDecimal, 3) + echo " efficiency: ", formatFloat(1-(gCacheMisses.float/gCacheTries.float), + ffDecimal, 3) when SimiluateCaasMemReset: resetMemory() |