diff options
author | Simon Hafner <hafnersimon@gmail.com> | 2014-05-02 17:17:12 -0500 |
---|---|---|
committer | Simon Hafner <hafnersimon@gmail.com> | 2014-05-02 17:17:12 -0500 |
commit | 3adceb34e06f218d3f679b90c134b7aaf2de67b3 (patch) | |
tree | 14ac2baae321419159198ef73ac4da6945f90987 | |
parent | a21289f5d5ac51bf0459f512eb566af8819a722c (diff) | |
download | Nim-3adceb34e06f218d3f679b90c134b7aaf2de67b3.tar.gz |
fixed constant typo (SimulateCaasMemReset)
-rw-r--r-- | compiler/main.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index 0e8540556..f833394f7 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -284,11 +284,11 @@ proc resetMemory = echo GC_getStatistics() const - SimiluateCaasMemReset = false + SimulateCaasMemReset = false PrintRopeCacheStats = false proc mainCommand* = - when SimiluateCaasMemReset: + when SimulateCaasMemReset: gGlobalOptions.incl(optCaasEnabled) # In "nimrod serve" scenario, each command must reset the registered passes @@ -454,6 +454,6 @@ proc mainCommand* = echo " efficiency: ", formatFloat(1-(gCacheMisses.float/gCacheTries.float), ffDecimal, 3) - when SimiluateCaasMemReset: + when SimulateCaasMemReset: resetMemory() |