Moonchild
5f23cd3017
Revert "Issue #1676 - Part 8: Fix up include for selfhosted.out.h"
...
This reverts commit bc450dab41695f85290f83c53c2c6914c1710883.
2022-09-07 11:00:53 +08:00
Moonchild
28392d5dca
Revert "Issue #1676 - Part 9: Move DIRS down in js/src/moz.build"
2022-09-07 11:00:39 +08:00
Moonchild
8da86488ea
Revert "Issue #1676 - Part 10: Split gc sources out of js/src/moz.build"
...
This reverts commit 65eac50e2dd9d2c4773a927aa7909eff13bc121c.
2022-09-07 11:00:25 +08:00
Moonchild
86b12c766d
Revert "Issue #1676 - Part 11: Split irregexp sources out of js/src/moz.build"
...
This reverts commit 3d9bf5d7a32eb7076ad4e1782ca677981efff150.
2022-09-07 11:00:13 +08:00
Moonchild
f4c5ef005c
Revert "Issue #1676 - Part 12: Split jit sources out of js/src/moz.build"
...
This reverts commit 95e057e737e3edcb270c256000b893365e1d9a9b.
2022-09-07 11:00:00 +08:00
Moonchild
b15c6109e9
Revert "Issue #1676 - Part 13: Split perf sources out of js/src/moz.build"
...
This reverts commit 383bc182e3a3fe53cf79a51bc36c6218334d93b5.
2022-09-07 10:59:46 +08:00
Moonchild
29fc6d519a
Revert "Issue #1676 - Part 14: Split proxy sources out of js/src/moz.build"
...
This reverts commit 6f76f1cb362b98fc617c5c0735cdacee64103e89.
2022-09-07 10:41:56 +08:00
Moonchild
14da6dc66d
Revert "Issue #1676 - Part 15: Split threading sources out of js/src/moz.build"
...
This reverts commit 2f50f543a245a559a277505dfa6906f1888ef0d9.
2022-09-07 10:41:43 +08:00
Moonchild
7a45d4dcf9
Revert "Issue #1676 - Part 16: Split WASM sources out of js/src/moz.build"
...
This reverts commit 1abc696f87d175ab967e0e86fdf375255c43e98d.
2022-09-07 10:41:29 +08:00
Moonchild
d83377b8ce
Revert "Issue #1676 - Part 17: Put remaining source files which have debug code ifdef'd behind MOZ_DEBUG"
...
This reverts commit ff355fe9ac5327a62cdbd05f99dff9febe5de5df.
2022-09-07 10:41:18 +08:00
Moonchild
0e7a3f2144
Revert "Issue #1676 - Part 18: Move and separate top level sources from vm sources in js/src/moz.build"
...
This reverts commit 59511eb8dddac5556c4aa72d6d7fe1a2c3dc3972.
2022-09-07 10:40:59 +08:00
Moonchild
b03603e73e
Revert "Issue #1676 - Part 19: Split ctypes sources out of js/src/moz.build"
...
This reverts commit cdf46e803b2fc1ab0787138890dfff67030e6516.
2022-09-07 10:40:47 +08:00
Moonchild
23a10c68fa
Revert "Issue #1676 - Part 20: Split vtune sources out of js/src/moz.build"
...
This reverts commit fd1b2dc2b14ded708f8eb62a55109c03356c6b26.
2022-09-07 10:40:33 +08:00
Moonchild
7bb8046c17
Revert "Issue #1676 - Follow-up: Put js/src (including vm), jit, and wasm back into unified sources."
...
This reverts commit a8a397fbceb78d2338e214e583be4f02797637d1.
2022-09-07 10:40:18 +08:00
Moonchild
5dfded811d
Issue #80 - reinstated unified building for some large chunks of our code.
...
This should reduce compile complexity saving time and reducing linker stress.
2022-09-07 10:36:23 +08:00
Moonchild
66424272f3
Issue #1999 - Switch to the unorm2 API for String.normalize()
...
Resolves #1999
2022-09-07 10:26:05 +08:00
Moonchild
59cf6bd808
Issue #1996 - Implement at() method on built-in indexables.
...
Resolves #1996
2022-09-01 10:19:41 +08:00
Moonchild
aedbffe910
Issue #1956 - Fix C++ code standard conformance issue in StoreBuffer.h
2022-09-01 10:18:54 +08:00
Job Bautista
3e6cbc6af3
Issue #1969 - Implement Intl.RelativeTimeFormat.
...
Based on Mozilla bugs 1270140, 1504656, 1483545, and 1504334.
Took note of Mozilla bug 1379222 which changed GetPrototypeFromCallableConstructor
to GetPrototypeFromBuiltinConstructor.
There are many other changes I did myself since the initial implementation by
Mozilla wouldn't work with this codebase.
2022-07-30 08:43:43 +08:00
Job Bautista
c090dd7ce8
Issue #1971 - Part 5: Update Spidermonkey for Unicode 11.
...
I forgot to do this while working on issue #326 .
2022-07-30 08:43:43 +08:00
Job Bautista
1e69214382
Issue #1971 - Part 2: Update ICU source to 63.2.
2022-07-30 08:43:41 +08:00
Moonchild
065e8bc77b
Issue #1805 - Follow-up: Include the same headers for Solaris as well to future-proof gcc versions.
2022-07-26 22:27:50 +08:00
Moonchild
3571cc8de0
Issue #1805 - Follow-up: provide for Linux builds using rlimit and min/max.
2022-07-26 22:27:12 +08:00
Moonchild
5ed7e7d56d
Issue #1805 - Improve stack size limits for all targets.
...
This allows us to use a greater rendering depth for exceedingly-deep DOM trees
in layout, better matching what mainstream browsers are capable of. Note that
for 32-bit Windows the stack size MUST be set to larger than the default or Bad
Things Will Happen™ - we use 1.5 MB for this as a carefully-tuned value.
This needs to be capped specifically for JS use because some JavaScript
obfuscators deliberately trigger stack overflows and would lock up the browser
otherwise as long as there's still stack space to abuse. For web compatibility
we therefore limit this to 2MB in JS only (3x for ASAN) while still allowing
a greater depth for the layout engine.
2022-07-26 22:26:38 +08:00
Martok
887e6d0ab3
Issue #1952 - m-c 1440468: Proxied functions can't be passed to Function.prototype.toString.call()
2022-07-03 06:55:36 +08:00
Martok
85af7f6e80
Issue #1952 - m-c 1383775: Clean up function toString/toSource code, remove remnants of source decompiler
2022-07-03 06:55:19 +08:00
Martok
1e753237e5
Issue #1952 - m-c 1380962/2: Remove unnecessary lambda function in FunctionToString
2022-07-03 06:54:52 +08:00
Martok
70eee9b0df
Issue #1952 - m-c 1380962/1: Merge append calls when assembling the source string for native functions
2022-07-03 06:54:38 +08:00
Martok
fc6c505da8
Issue #1952 - m-c 1371593: Avoid repeated string atomizations when retrieving the unresolved name of a bound function
2022-07-03 06:54:25 +08:00
Martok
53d6173cfb
Issue #1952 - m-c 1365387: Optimize FinishBoundFunctionInit by delaying atomizing the function name
2022-07-03 06:54:09 +08:00
Martok
e9cc7313ac
Issue #1918 - m-c 1353693: Correct parsing of async generator methods
2022-06-22 09:02:55 +08:00
Martok
a511ff812e
Issue #1918 - m-c 1353690: Properly exclude |await| from consideration as a |let| variable name in async functions, so that a newline between the two separates them into two distinct expressions.
2022-06-22 09:02:40 +08:00
Martok
8b14220c3c
Issue #1918 - m-c 1345960: Handle shorthand property and destructuring with async keyword properly.
...
This was previously partially present, but got lost along the way
2022-06-22 09:02:24 +08:00
Martok
5e1b813aac
Issue #1918 - m-c 1358246: Report syntax error for stray "async" keyword in object literal property name.
2022-06-22 09:02:10 +08:00
Brian Smith
7e63a3f440
Issue #1905 - Part 4b - Fix issue loading the profile and saving changes to the profile. Based on the following Mozilla bugs: 1659904, 1659905 and 1659077.
2022-06-22 08:55:22 +08:00
Brian Smith
5bf1ed5953
Issue #1905 - Part 3h - Fix breakages on other platforms. Mac Intel broke due to incorrect FFI target_dir for Intel. Linux and possibly other platforms use a secondary aclocal.m4 that still referenced ios.m4.
2022-06-13 09:01:48 +08:00
Brian Smith
be240b3403
Issue #1905 - Part 3g - Final set of changes connecting ARM64 support for Mac. Back out some of the xptcstubs changes that are not viable for our codebase.
2022-06-13 09:01:34 +08:00
Jeremy Andrews
1cdbf6eb6a
Issue #1742 - Part 5: Remove unnecessary GCPtr::unbarrieredGet
...
Ref: BZ 1323441
2022-05-31 09:12:51 +08:00
Jeremy Andrews
e632fc1e8c
Issue #1742 - Part 4: Don't trigger read barriers when comparing wrapped pointers types
...
This is actually an undocumented dependency of Bug 1325406 for Linux and
SunOS.
Ref: BZ 1308236
2022-05-31 09:12:45 +08:00
Moonchild
30a3ec27a2
Issue #1742 - Remove the ambiguous portions of gc that dealt with tagged pointers for shapes.
...
Nobody likes "isNullLike(obj)" when trying to garbage collect. It either is or
is not. Master Yoda would be pleased with this change.
2022-05-31 09:12:38 +08:00
Moonchild
574b295d15
Issue #1742 - Part 3: use JS::PropertyResult instead of Shape*
...
This is the meat of the issue and switches using raw shape pointers out for
PropertyResult objects where feasible.
2022-05-31 09:12:29 +08:00
Moonchild
c48b8e8932
Issue #1742 - Part 2: Add a class to encapsulate the possible results of a property lookup
2022-05-31 09:12:25 +08:00
Moonchild
80d7d43961
Issue #1742 - Part 1: Refactor rooting base class templates
...
Based on Bug 1325406
2022-05-31 09:12:19 +08:00
FranklinDM
f0e208a861
Issue #1894 - Part 7: Update tests
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
2022-05-22 06:46:47 +08:00
FranklinDM
9dde32ee98
Issue #1894 - Part 6: Check for nullish values when folding coalesce nodes
...
This uses a different approach by modifying the `Boolish` function directly to act differently if we're checking for nullish values.
Partially based on:
Bug 1566141 - Implement the Nullish Coalescing operator (??) proposal
Bug 1599163 - Nullish coalescing operator returns undefined for void expressions
2022-05-22 06:46:40 +08:00
FranklinDM
707867d165
Issue #1894 - Part 5: Implement bytecode for nullish coalescing
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
2022-05-22 06:46:35 +08:00
FranklinDM
5812721809
Issue #1894 - Part 4: Implement IonMonkey support for nullish coalescing
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
2022-05-22 06:46:31 +08:00
FranklinDM
f282a4c05f
Issue #1894 - Part 3: Implement support for nullish coalescing in JS reflection
...
Partially based on:
Bug 1566141 - Implement the Nullish Coalescing operator (??) proposal
Bug 1593415 - Assertion failure: false, at js/src/builtin/ReflectParse.cpp:3092 with nullish coalescing
2022-05-22 06:46:27 +08:00
FranklinDM
d7cdeaf313
Issue #1894 - Part 2: Implement support for nullish coalescing in the JS parser
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
2022-05-22 06:46:21 +08:00
FranklinDM
3efa23472c
Issue #1894 - Part 1: Implement coalesce JS opcode
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
2022-05-22 06:46:16 +08:00