diff options
author | Alon Zakai <azakai@google.com> | 2019-06-03 19:09:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-03 19:09:46 -0700 |
commit | 9d4f053070fa4a0d61663901d5206c025d694bb2 (patch) | |
tree | b721ef95e0570192d84a8601a6b6dfe62ae90a20 /scripts/test | |
parent | fe99e3458f11d1a01fa3ad5b68883dbcba3903af (diff) | |
download | binaryen-9d4f053070fa4a0d61663901d5206c025d694bb2.tar.gz binaryen-9d4f053070fa4a0d61663901d5206c025d694bb2.tar.bz2 binaryen-9d4f053070fa4a0d61663901d5206c025d694bb2.zip |
Add a recursion limit for the interpreter's expression runner (#2160)
We previously had one for calls (the spec tests check for infinite recursion).
This is an internal limit of the interpreter, until we un-recursify it, which may make sense at some point - but it's unlikely interpreting massively-recursive things will be beneficial in the optimizer anyhow, since if it could do something with them, it could also do so on the smaller pieces iteratively.
Diffstat (limited to 'scripts/test')
0 files changed, 0 insertions, 0 deletions