mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00

- #if JS_HAS_LVALUE_RETURN around cx->rval2/rval2set defs and uses. - Instrument different kinds of invocations, #ifdef DEBUG only. - Clean up basis case of empty switch statement to use high = -1, low = 0, requiring care when optimizing in-range tests using unsigned casts, but freeing the interpreter and decompiler from having to do an extra test before looping from low to high. - Clean up all codegen to use JUMP_OFFSET_LEN, ATOM_INDEX_LEN, etc. instead of magic 2 or 4. - Add JSOP_TRY and JSOP_FINALLY no-ops to save a srcnote per JSOP_NOP, and to make decompilation and jit'ing easier. - Minimize number of source notes to maximize SRC_XDELTA span. - Use JSSCRIPT_FIND_CATCH_START in throw code. - Indentation and bracing nits picked.