-
Notifications
You must be signed in to change notification settings - Fork 156
Migrating to v25
Changes needed to migrate to SpiderMonkey v23
- The definition of 'del' property has been changed.
// old
JSPropertyOp delProperty;
// new
JSDeletePropertyOp delProperty;
configure
includes the --disable-yarr-jit
option. No longer needed in iOS.m4
Adds build-ios, build-osx, build-android and build-win32 scripts
- Build scripts: https://github.com/ricardoquesada/Spidermonkey/commit/0b50c307fdf16ea2e9588ca01fe51c152acaa77a
Adds iOS options
-
configure.in, aclocal.m4, ios.m4: https://github.com/ricardoquesada/Spidermonkey/commit/efb51d712edd721a07bb9d36a83837659849fe83
-
configure https://github.com/ricardoquesada/Spidermonkey/commit/b413890073ae520c5104966d444f3367596e992c
Needed to compile Android
- Android.mk: https://github.com/ricardoquesada/Spidermonkey/commit/047d305ceddc22938dbe446826fc8cbd869c6a31
Disables JIT on debug.
- Logging.h
// old
#if defined(DEBUG) && !defined(JS_METHODJIT_SPEW)
#define JS_METHODJIT_SPEW
#endif
// new
#ifdef JS_METHODJIT_SPEW
Disables ARM assembly optimizations when using clang
- NumericConversions.h: https://github.com/ricardoquesada/Spidermonkey/commit/efb51d712edd721a07bb9d36a83837659849fe83
Disables "DEBUG" class id in order to have ABI compatibility between DEBUG and RELEASE builds
- jspubtd.h: https://github.com/ricardoquesada/Spidermonkey/commit/efb51d712edd721a07bb9d36a83837659849fe83
Empty implementation of AsmJSMachExceptionHandler for iOS
- AsmJS.h: https://github.com/ricardoquesada/Spidermonkey/commit/b3585af3650f22600e2b89a23136a7105b2496c9
The icu library will is too large to be included in spidermonkey. For instance, on win32, the size of the dynamic library 'mozjs.dll' will grow to 12M while 3M in v22. https://github.com/ricardoquesada/Spidermonkey/commit/5b9356315a9bffbf3faa4a5e87664b6e0909c6ff