This repository has been archived by the owner on Dec 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 155
Migrating to v22
James Chen edited this page Jun 28, 2013
·
5 revisions
Changes needed to migrate to SpiderMonkey v22
- No API changes.
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 'intl/icu/source/common/unicode' folder since it's needed in v22. You could refer to js/src/buildin/Intl.cpp. The SDK of iOS contains 'unicode/utypes.h', however, other platforms don't include it. https://github.com/ricardoquesada/Spidermonkey/commit/281a090bfbd89b60ca397f7df0f453ad802e548d
Adds iOS options
- configure.in: https://github.com/ricardoquesada/Spidermonkey/commit/3e5601c08cf73a878f7d935eae292dca93088d99
- configure: https://github.com/ricardoquesada/Spidermonkey/commit/5ac399896f78cba9a289815d127679b722f118c6
- aclocal.m4: https://github.com/ricardoquesada/Spidermonkey/commit/3e5601c08cf73a878f7d935eae292dca93088d99
- ios.m4: https://github.com/ricardoquesada/Spidermonkey/commit/da558940ed31614476e6daf410582eb768bb07d7
Needed to compile Android
- Android.mk: https://github.com/ricardoquesada/Spidermonkey/commit/047d305ceddc22938dbe446826fc8cbd869c6a31
Disables JIT on debug.
- Logging.h: https://github.com/ricardoquesada/Spidermonkey/commit/3e5601c08cf73a878f7d935eae292dca93088d99
Disables ARM assembly optimizations when using clang
- NumericConversions.h: https://github.com/ricardoquesada/Spidermonkey/commit/3e5601c08cf73a878f7d935eae292dca93088d99
Disables "DEBUG" class id in order to have ABI compatibility between DEBUG and RELEASE builds
- jspubtd.h: https://github.com/ricardoquesada/Spidermonkey/commit/3e5601c08cf73a878f7d935eae292dca93088d99
Empty implementation of AsmJSMachExceptionHandler for iOS