[PATCH] SpiderMonkey 38 Upgrade
|Reported by:||leper||Owned by:||Itms|
|Priority:||Should Have||Milestone:||Alpha 21|
Description (last modified by )
SpiderMonkey 38 was released some time ago, and it brings some improvements like eg better ES6 support.
I've started working on the upgrade and it compiles without problems right now, but there is still 1 test failures (which is to be expected and cannot easily be fixed since the function we relied on was removed). Some review, testing and suggestions would be nice.
There is a commit for each upstream change that required a change in our code, or did not fit in any of those. The last commit contains some TODOs.
The debug api was removed and
JS_SetFunctionCallback which could have been used for our needs was also removed in SM37 (hinting at both the JS Debugger and the tracelogger).
Given the high number of changes needed and for easier testing/reviewing the code is in the sm38 branch of my github repo.
https://github.com/na-Itms/0ad/tree/sm38 (Note that this will be rebased (both on top of 0ad/0ad and interactively).)