diff options
-rw-r--r-- | changelog.md | 2 | ||||
-rw-r--r-- | compiler/vmdef.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/changelog.md b/changelog.md index a77c57631..f06041b34 100644 --- a/changelog.md +++ b/changelog.md @@ -185,7 +185,7 @@ ### Compiler changes -- The VM's instruction count limit was raised to 1 billion instructions in +- The VM's instruction count limit was raised to 3 million instructions in order to support more complex computations at compile-time. - Support for hot code reloading has been implemented for the JavaScript diff --git a/compiler/vmdef.nim b/compiler/vmdef.nim index 50235c95f..1abd9ae4a 100644 --- a/compiler/vmdef.nim +++ b/compiler/vmdef.nim @@ -17,7 +17,7 @@ const byteExcess* = 128 # we use excess-K for immediates wordExcess* = 32768 - MaxLoopIterations* = 1_000_000_000 # max iterations of all loops + MaxLoopIterations* = 3_000_000 # max iterations of all loops type |