Skip to content

Commit

Permalink
change the VM's max instruction count to 3_000_000
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq committed Aug 10, 2018
1 parent 265003d commit 864d24d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion compiler/vmdef.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 864d24d

Please sign in to comment.