On Mon, May 2, 2016 at 4:42 PM, Nicholas Nethercote <[email protected]>
wrote:

> It probably wouldn't end up checking with JIT IR data structures,
> because those are short-lived and triggers at unpredictable times
> probably wouldn't overlap with live IR. But it would still overlap
> with plenty of other data structures.
>


Couldn't we set triggers ahead of time like "please verify your data
structures when you get around to compiling this function"?

This could be accompanied by a flag saying, "This trigger was satisfied",
which we could check at the end of the test, so that if heuristics changed
and caused the intended JIT phase not to run, the test would fail.
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to