Skip to content

Add a recursion limit for the interpreter's expression runner#2160

Merged
kripken merged 1 commit intomasterfrom
rec
Jun 4, 2019
Merged

Add a recursion limit for the interpreter's expression runner#2160
kripken merged 1 commit intomasterfrom
rec

Conversation

@kripken
Copy link
Copy Markdown
Member

@kripken kripken commented Jun 3, 2019

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.

This could fix the current recursion issue on the mac bot, but as with the last fix, there might be more...

…, not just for tracking wasm calls. 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 - if it could do something with them, it could also do so on the smaller pieces iteratively. this should fix the current recusion issue on the mac bot
@kripken kripken requested review from dschuff and tlively June 3, 2019 20:21
Copy link
Copy Markdown
Member

@tlively tlively left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kripken kripken merged commit 9d4f053 into master Jun 4, 2019
@kripken kripken deleted the rec branch June 4, 2019 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants