mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
69ab37f337
- Fix bug where script jssrcnote vector terminator was not XDRed. - Ensure that memory is cleared by serializing zero padding bytes as needed under JS_XDRBytes and JS_XDRString. - Fix JS_XDRValue to handle undefined and null JS types properly (bug 31003). Also make it cast from jsint to uint32 and back carefully, so as to work with negative numbers even on targets where jsval is a signed 64 bit type. - Add JS_XDRScript public API. - Optimize the per-JSXDRState class registry so it uses a JSDHashTable upon searching for a class-id by name in an overpopulated (for linear search) registry table. - Clean up API nits such as JS_XDRNewBase => JS_XDRInitBase, with parameter list rotation to put cx last (JS_XDRInitBase is an infallible init helper, not an error-reporting, cx-comes-first, API entry point). - Fix some XXX comments, unneeded masks, other nits. - Make sure all JS XDR API functions start with JS_XDR. |
||
---|---|---|
.. | ||
benchmarks | ||
js2 | ||
jsd | ||
jsdj | ||
jsj | ||
macbuild | ||
ref | ||
rhino | ||
semantics | ||
src | ||
tests | ||
.cvsignore | ||
landbranch.pl | ||
Makefile.in | ||
makefile.win |