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

Migrating to v20

ricardoquesada edited this page Apr 11, 2013 · 8 revisions

Changes needed to migrate to SpiderMonkey v20

API Changes

No API changes.

Patched files

methodjit/Logging.h

// Needed to comment these lines out, otherwise it will try to use JS_METHODJIT_SPEW on debug builds.
//#if defined(DEBUG) && !defined(JS_METHODJIT_SPEW)
//# define JS_METHODJIT_SPEW
//#endif

vm/NumericConversions.h

// Adds !defined(__clang__)
#if defined (__arm__) && defined (__GNUC__) && !defined(__clang__)

jsgc.cpp

Removes assertion (backport from SpiderMonkey 21?). Needed for the debugger https://github.com/ricardoquesada/Spidermonkey/pull/15/files

jspubtd.h

Disables "DEBUG" class id in order to have ABI compatibility between DEBUG and RELEASE builds https://github.com/ricardoquesada/Spidermonkey/commit/8d74c24bfeb8de09b8526bf601fa183507760493

Makefile.in

Disables YARR_JIT on iOS devices https://github.com/ricardoquesada/Spidermonkey/commit/5c46d062205f5531b7587c6c7e919418a09f6b49

Clone this wiki locally