Opened 8 years ago

Last modified 8 years ago

#3708 closed enhancement

[PATCH] SpiderMonkey 38 Upgrade — at Version 1

Reported by: leper Owned by: leper
Priority: Should Have Milestone: Alpha 21
Component: Core engine Keywords: patch
Cc: Yves Patch:

Description (last modified by leper)

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/leper/0ad/tree/sm38 (Note that this will be rebased (both on top of 0ad/0ad and interactively).)

Change History (1)

comment:1 by leper, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.