Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Migrating to v25

Ricardo Quesada edited this page Oct 31, 2013 · 13 revisions

Changes needed to migrate to SpiderMonkey v23

API Changes

  • The definition of 'del' property has been changed.
// old
JSPropertyOp        delProperty;
// new
JSDeletePropertyOp  delProperty;

Misc Changes

configure includes the --disable-yarr-jit option. No longer needed in iOS.m4

Patched files

build-*

Adds build-ios, build-osx, build-android and build-win32 scripts

configure.in, configure, aclocal.m4, ios.m4

Adds iOS options

Android.mk

Needed to compile Android

methodjit/Logging.h (Not longer needed from v23)

Disables JIT on debug.

  • Logging.h
// old
#if defined(DEBUG) && !defined(JS_METHODJIT_SPEW)
#define JS_METHODJIT_SPEW
#endif

// new
#ifdef JS_METHODJIT_SPEW

vm/NumericConversions.h

Disables ARM assembly optimizations when using clang

jspubtd.h

Disables "DEBUG" class id in order to have ABI compatibility between DEBUG and RELEASE builds

AsmJS.h

Empty implementation of AsmJSMachExceptionHandler for iOS

Disabling init-api since that wasn't supported on Android and 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

Clone this wiki locally