Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Issue #1676 - Part 15: Split threading sources out of js/src/moz.build | Matt A. Tobin | 2020-11-04 | -15/+32 |
| | ||||
* | Issue #1676 - Part 14: Split proxy sources out of js/src/moz.build | Matt A. Tobin | 2020-11-04 | -8/+24 |
| | ||||
* | Issue #1676 - Part 13: Split perf sources out of js/src/moz.build | Matt A. Tobin | 2020-11-04 | -13/+30 |
| | ||||
* | Issue #1676 - Part 12: Split jit sources out of js/src/moz.build | Matt A. Tobin | 2020-11-04 | -216/+232 |
| | ||||
* | Issue #1676 - Part 11: Split irregexp sources out of js/src/moz.build | Matt A. Tobin | 2020-11-04 | -8/+24 |
| | ||||
* | Issue #1676 - Part 10: Split gc sources out of js/src/moz.build | Matt A. Tobin | 2020-11-03 | -14/+30 |
| | ||||
* | Issue #1676 - Part 9: Move DIRS down in js/src/moz.build | Matt A. Tobin | 2020-11-03 | -15/+13 |
| | ||||
* | Issue #1676 - Part 8: Fix up include for selfhosted.out.h | Matt A. Tobin | 2020-11-03 | -1/+1 |
| | ||||
* | Issue #1676 - Part 7: Split frontend sources out of js/src/moz.build | Matt A. Tobin | 2020-11-03 | -16/+28 |
| | ||||
* | Issue #1676 - Part 6: Split ds sources out of js/src/moz.build | Matt A. Tobin | 2020-11-03 | -2/+18 |
| | ||||
* | Issue #1676 - Part 5: Split devtools sources out of js/src/moz.build | Matt A. Tobin | 2020-11-03 | -7/+26 |
| | ||||
* | Issue #1676 - Part 4: Split builtin sources out of js/src/moz.build | Matt A. Tobin | 2020-11-03 | -59/+78 |
| | ||||
* | Issue #80 - De-unify js/src | Matt A. Tobin | 2020-11-03 | -17/+17 |
| | | | | | | | Three debug sources are producing link warnings and will be solved as Issue #1676 progresses. This does not include JS Testing sources. Specifically: js/src/gdb or js/src/jsapi-tests | |||
* | Issue #1676 - Part 3: Split DEFINES out of js/src/moz.build | Matt A. Tobin | 2020-11-03 | -36/+37 |
| | ||||
* | Issue #1676 - Part 2: Split CFLAGS and CXXFLAGS directives out of ↵ | Matt A. Tobin | 2020-11-03 | -34/+45 |
| | | | | js/src/moz.build | |||
* | Issue #1676 - Part 1: Split MozTesting directives out of js/src/moz.build | Matt A. Tobin | 2020-11-03 | -45/+49 |
| | ||||
* | Issue #1656 - Part 10: Manual cleanup. | Moonchild | 2020-09-24 | -52/+17 |
| | ||||
* | Issue #1656 - Part 9: Single-line-comment style. | Moonchild | 2020-09-24 | -37/+0 |
| | ||||
* | Issue #1656 - Part 8: Devtools and misc. | Moonchild | 2020-09-24 | -9/+0 |
| | ||||
* | Issue #1656 - Part 7: Nuke vim config lines in JS | Moonchild | 2020-09-24 | -854/+0 |
| | ||||
* | Issue #1656 - Part 6: Clean up the build files | Moonchild | 2020-09-23 | -6/+0 |
| | ||||
* | Issue #1656 - Part 1: Nuke most vim config lines in the tree. | Moonchild | 2020-09-23 | -16/+0 |
| | | | | | | Since these are just interpreted comments, there's 0 impact on actual code. This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are a few others scattered around which will be removed manually in a second part. | |||
* | Merge branch 'es-modules-work' | Moonchild | 2020-09-08 | -3/+3 |
|\ | ||||
| * | Issue #618 - Clear the module map when changing a Document's global and add | Moonchild | 2020-09-08 | -3/+3 |
| | | | | | | | | release build assertions for mismatching compartments. | |||
| * | Revert "Issue #618 - Add JS API to associate scripts with DOM elements after ↵ | Moonchild | 2020-08-27 | -45/+12 |
| | | | | | | | | | | | | compilation" This reverts commit 22f300f7c431bbf4de20437d2ebd7bff38284efb. | |||
| * | Issue #618 - Add JS API to associate scripts with DOM elements after compilation | Jon Coppeard | 2020-08-27 | -12/+45 |
| | | | | | | | | Ref BZ 1342416 | |||
* | | Issue #1639 - Implement object.fromEntries() | Moonchild | 2020-09-06 | -0/+19 |
|/ | | | | | Adds a self-hosted implementation of this map->object conversion. This resolves #1639. | |||
* | Merge branch 'master' into es-modules-work | Moonchild | 2020-08-22 | -1/+1 |
|\ | ||||
| * | [js] Reinstate precise floating point model for all js sources. | Moonchild | 2020-08-19 | -1/+1 |
| | | ||||
* | | Merge branch 'master' into es-modules-work | Moonchild | 2020-08-13 | -9/+29 |
|\| | ||||
| * | [js] Try to catch bad pointers for GC and bail if not valid. | Moonchild | 2020-08-03 | -0/+5 |
| | | ||||
| * | [js] Don't improve TypeSets containing the magic-args type. | Moonchild | 2020-07-29 | -4/+4 |
| | | | | | | | | | | | | JIT optimizations involving the Javascript 'arguments' object could potentially confuse later optimizations, so we simply disable these optimizations as a DiD measure. | |||
| * | [js] Fix Sink to check for non-recoverable operands. | Jan de Mooij | 2020-07-29 | -1/+5 |
| | | ||||
| * | [js] Get the class pointer from the ObjectGroup in NativeObject::slotSpan | Moonchild | 2020-07-10 | -1/+4 |
| | | | | | | | | | | | | This changes NativeObject::slotSpan() to get the class from the object group rather than getting it from the base shape to avoid a race between Shape::ensureOwnBaseShape and background sweeping. | |||
| * | [js] Improve readability and control flow of js date string parser. | Moonchild | 2020-07-09 | -3/+16 |
| | | ||||
* | | [js] Try to catch bad pointers for GC and bail if not valid. | Moonchild | 2020-08-06 | -0/+5 |
| | | ||||
* | | Issue #618 - Simplify module resolve hook to be a function pointer | Moonchild | 2020-08-06 | -42/+56 |
| | | | | | | | | | | This is an ahead-of time port to try and address #1624. This is based on BZ 1461751 and Jon Coppeard's work in it. | |||
* | | [js] Add some utility functions to get the current JS runtime. | Moonchild | 2020-08-06 | -0/+8 |
| | | ||||
* | | Issue #618 - Align error handling for module scripts with the spec - Debug ↵ | Gaming4JC | 2020-08-03 | -1/+2 |
| | | | | | | | | | | | | | | | | follow up MODULE_STATUS_ERRORED is no more. Replacing with newer API. Ref: BZ 1420420 | |||
* | | Issue #618 - Lazily initialise module binding maps - Debug follow up | Gaming4JC | 2020-08-03 | -1/+1 |
| | | | | | | | | | | | | The added debug assertion does not work due to missing API. They were added in BZ 1337491, 1395366, and others, but were primarily used for multi-threading. This uses our existing non-multithreaded syntax instead, resolving a `no member named` build error. | |||
* | | Issue #618 - Lazily initialise module binding maps | Moonchild | 2020-07-08 | -27/+35 |
| | | | | | | | | | | | | | | Make it so they are not allocated on a background thread in a different zone to the final module. Ref: BZ 1372258 | |||
* | | Issue #618 - Use a single slot for the module's environment object. | Moonchild | 2020-07-08 | -47/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the spec this isn't created until the module is instantiated, but we create it when we compile the module. We stored this previously in InitialEnvironmentSlot and copied it to EnvironmentSlot when it was supposed to be created, but we can just store it in the latter slot straight away and check the module's status and return null if it shouldn't exist yet. This reduces the number of slots needed on a moduleObject to 17. Re: BZ 1420412 Part 1 We can't implement the second part to further reduce our number of slots, because it relies on SetProxyReservedSlot which in turn relies on rearchitecturing JS proxies to make reserved slots dynamic. That's a rabbit hole we really don't want to fall into. So, we'll end up being a bit slower because it can't be in-line allocated with having more than 16 slots, but so be it. I sincerely doubt it will make any practical difference. | |||
* | | Issue #618 - Align error handling for module scripts with the spec (again) | Moonchild | 2020-07-08 | -208/+252 |
|/ | | | | | | | | This updates module implementation to match spec regarding handling of instantiation errors, after it was changed yet again, this time to not remember instantiation errors, but instead immediately rethrow applicable ones. Ref: BZ 1420420 | |||
* | Issue #618 - Fix typo and remove old function declarations. | Moonchild | 2020-07-07 | -3/+1 |
| | ||||
* | Issue #618 - Report source position information (line/column) | Moonchild | 2020-07-04 | -39/+161 |
| | | | | | | Report source position information for module export resolution failures. Ref: BZ 1362098 | |||
* | Issue #618 - Remove context and heap-idle check | Moonchild | 2020-07-04 | -8/+4 |
| | | | | | | | | | For checking if a module is in an error state and what the error is, it shouldn't matter if we are currently GC-ing or not. So we don't need to check for it, which removes the requirement to pass in the JS context (needed for AssertHeapIsIdle's runtime check); this unblocks progress where otherwise we'd have to figure out what the context is at the module level just to satisfy this check. | |||
* | Issue #618 - Fix JSAPI additions to pass the JS context. | Moonchild | 2020-07-03 | -6/+8 |
| | ||||
* | Issue #618 - Match JSAPI names with the changes in ↵ | Moonchild | 2020-07-03 | -9/+8 |
| | | | | | | 9ca74147225eed305e28c7887f9b2251aeeb0f36 Ref: BZ 1388728 | |||
* | Issue #618 - Add APIs to query module record errors | Moonchild | 2020-07-03 | -0/+20 |
| | | | | Ref: BZ 1388728 | |||
* | Issue #618 - Update code comments for ModuleInstantiate | Moonchild | 2020-07-03 | -2/+2 |
| |