-
Notifications
You must be signed in to change notification settings - Fork 157
Migrating to v23
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
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
Empty implementation of AsmJSMachExceptionHandler for iOS
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