On 06/27/2014 09:02 AM, Boris Zbarsky wrote:
On 6/27/14, 11:55 AM, Fitzgerald, Nick wrote:
I don't know if it is optimized by SpiderMonkey as well, but in the
debugger we have

|exports.dbg_assert =function  dbg_assert(cond, e) {|

This requires evaluation of "cond" and "e" on the caller side,
unfortunately.  That can't be optimized away.

For function calls, yes. For non-effectful expressions, this is what Recover Instructions (Bug 1003801) are made for.

By the way, "optimized away" is the title I chose for the blog post I am writing to explain recover instructions :D

--
Nicolas B. Pierron
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to