summary refs log tree commit diff stats
path: root/compiler/vmdef.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-03-18 11:04:53 +0100
committerAraq <rumpf_a@web.de>2018-03-18 11:04:53 +0100
commit4301744e49f4b3758cc7a777c2d78c827bfbb344 (patch)
treeb5b3301d05c8c1ab7efb81bdb7bd92d9140ea5bd /compiler/vmdef.nim
parente39f2a9283fc63f529d74acb0d50b0035d513e79 (diff)
downloadNim-4301744e49f4b3758cc7a777c2d78c827bfbb344.tar.gz
raise the max instruction count for the VM to one billion
Diffstat (limited to 'compiler/vmdef.nim')
-rw-r--r--compiler/vmdef.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/vmdef.nim b/compiler/vmdef.nim
index 5395d4bad..dd4bc5060 100644
--- a/compiler/vmdef.nim
+++ b/compiler/vmdef.nim
@@ -16,7 +16,7 @@ const
   byteExcess* = 128 # we use excess-K for immediates
   wordExcess* = 32768
 
-  MaxLoopIterations* = 1500_000 # max iterations of all loops
+  MaxLoopIterations* = 1_000_000_000 # max iterations of all loops
 
 
 type