Commit graph

713 commits

Author SHA1 Message Date
Jiaxun Yang
ee48a26c52 Bug 1271968 - IonMonkey: MIPS: Replace long jumps by mixed jumps.
Tag: #1542
2020-05-23 06:54:17 +08:00
Jiaxun Yang
1d29d6882c Bug 1271968 - IonMonkey: MIPS: Make jit code in same 256 MB-aligned region
Tag: #1542
2020-05-23 06:54:14 +08:00
Jiaxun Yang
90144c967f [IonMonkey] MIPS: Import small optimizations from load & store 2020-05-23 06:54:10 +08:00
Jiaxun Yang
8bab1f4fbf Issue #1542 - IonMonkey: MIPS32: Fix build error on O32 platform. 2020-05-23 06:54:07 +08:00
Jiaxun Yang
06f5e5b9b5 Bug 1323646 - IonMonkey: MIPS64: Fix range checking in ma_addTestOverflow
Tag: #1542
2020-05-23 06:54:04 +08:00
Jiaxun Yang
e293ccbcd4 Bug 1323642 - IonMonkey: MIPS64: Fix load unsigned 48-bit immediate
Issue:
In ma_li(Register, ImmWord):
	Load unsigned 48-bit immediate: 0x0000_8000_0000_0000
	Wrong instructions stream:
		lui	reg, 0x8000
		dsll	reg, reg, 16 # reg = 0xffff_8000_0000_0000
	Fixed instructions stream:
		lui	reg, 0x8000
		dinsu	reg, zero, 32, 32
		dsll	reg, reg, 16

Tag: #1542
2020-05-23 06:54:01 +08:00
Jiaxun Yang
c15d832a98 Bug 1323136 - wasm: MIPS: Do bounds check in 32-bit
Tag: #1542
2020-05-23 06:53:58 +08:00
Jiaxun Yang
5a62948a43 Bug 1344597 - Baldr: MIPS: Fix trap type of unsigned divide by zero
Tag: #1542
2020-05-23 06:53:55 +08:00
Jiaxun Yang
91053477ec Issue #1542 - IonMonkey: MIPS: Define JS_CODEGEN_MIPSXX by HAVE_64BIT_BUILD.
MIPSXX is required for 64bit build.
2020-05-23 06:53:47 +08:00
Roy Tam
bd1e07b203 Merge remote-tracking branch 'origin/master' into custom 2020-05-09 07:01:19 +08:00
Moonchild
4f72c20f83 [js] Record load in MCreateThis alias set. 2020-05-09 06:56:29 +08:00
Roy Tam
924da4a2cc Merge remote-tracking branch 'origin/master' into custom 2020-04-18 07:25:50 +08:00
Matt A. Tobin
cedff6e214 Bug 1416999 - Remove document.registerElement
Tag #1375
2020-04-18 07:05:32 +08:00
Roy Tam
8d7d46f06c Merge remote-tracking branch 'origin/master' into custom 2020-04-11 10:43:22 +08:00
Jan de Mooij
95db678f71 [js] Handle functions with rest parameters in isObservableArgumentSlot. 2020-04-11 09:40:45 +08:00
Roy Tam
4ecaa49dd0 Merge remote-tracking branch 'origin/master' into custom 2020-04-03 09:57:28 +08:00
JMadgwick
1640ee7bc6 Issue #1471 - Fix building on sparc64 Linux
Correct various pre-processor defines for sparc64 and in mozjemalloc use the JS arm64 allocator on Linux/sparc64.
This corrects build problems opn Linux sparc64 and is in line with bugzilla bug #1275204.
2020-04-03 09:26:50 +08:00
Roy Tam
cf086d4da7 Merge remote-tracking branch 'origin/master' into custom 2020-03-20 09:12:43 +08:00
wolfbeast
bc6ac88559 [js] Remove pointless MakeMRegExpHoistable optimization.
It's a lot of code with no measurable effect.
2020-03-20 08:58:33 +08:00
Roy Tam
d27e162ef9 Merge remote-tracking branch 'origin/master' into custom 2020-02-28 14:40:02 +08:00
wolfbeast
f4dd604bf5 Issue #1465 - Implement optional catch binding. 2020-02-28 14:39:12 +08:00
Roy Tam
55828393ce Merge remote-tracking branch 'origin/master' into custom 2020-02-27 07:37:41 +08:00
wolfbeast
2996c783d8 Revert #1091 Remove unboxed object code phase 1 + extras.
This should be the last code backout for this. merging this branch
should get us back to the way we were (+ additional code changes for
later changes) as fasr as the unused unboxed code is concerned.
2020-02-27 07:34:57 +08:00
wolfbeast
cfed2447da Revert #1137 - Remove unboxed arrays
- accounting for removal of watch()/unwatch()
- updated for intermediate code changes.
2020-02-27 07:34:50 +08:00
wolfbeast
eab2558676 Revert "Issue #1382 - Remove invalid assertion."
This reverts commit 9c6a8450b3e96442035b84025b0dd13be3a9e5f8.
2020-02-27 07:33:15 +08:00
wolfbeast
47781d6165 Revert #1142 - Remove unboxed objects
- accounting for removal of watch()/unwatch()
2020-02-27 07:33:11 +08:00
wolfbeast
90e01a7329 Revert 1320408 part 15: Make addDataProperty static 2020-02-27 07:33:07 +08:00
Matt A. Tobin
95d5dcd8c5 Reclassify heapsnapshot and nsJSInspector as not part of devtools
This resolves Issue #316
2020-02-27 07:31:01 +08:00
Roy Tam
1fff7458c2 Merge remote-tracking branch 'origin/master' into custom 2020-02-21 09:46:17 +08:00
wolfbeast
beed2a817e Issue #316 - Make sure MOZ_DEVTOOLS_SERVER is passed down to js. 2020-02-21 09:45:13 +08:00
Roy Tam
43b8e8fb16 Merge remote-tracking branch 'origin/master' into custom 2020-02-21 07:18:31 +08:00
wolfbeast
10e1c09fec Issue #316 - Be more gentle with the CC and nursery. 2020-02-21 07:05:20 +08:00
wolfbeast
1e553d0e73 Issue #316 - Make the memory GC performance object conditional (WIP)
This was only added for GCubench and likely interfering with building
without devtools-server.
2020-02-21 07:05:16 +08:00
Roy Tam
c9f0b81b06 Merge remote-tracking branch 'origin/master' into custom 2020-02-07 08:01:35 +08:00
wolfbeast
af47c6fb4d Issue #1382 - Remove invalid assertion.
There is flexibility in exactly the value the initialized length must
hold, i.e. if an array is completely empty, it is valid for the
initialized length to be any value between zero and the length of the
array, as long as the in-memory values below the initialized length have
been initialized with a hole value.
In the case of 0, the array is packed and the move operation would be a
nop, so simply convert the assert to a condition to save some cycles.
2020-02-07 07:57:01 +08:00
Roy Tam
c7bc87cff9 Merge remote-tracking branch 'origin/master' into custom 2020-01-31 07:59:13 +08:00
wolfbeast
0070369171 Issue #1342 - Remove support for system NSPR/NSS 2020-01-31 07:44:03 +08:00
Gaming4JC
5db13d0f4b Bug 1415761 - Catch the exception and rethrow it after invoking custom elements reactions;
The spec was unclear on how CEReactions interact with thrown exceptions; see https://github.com/whatwg/html/issues/3217. The spec is now being clarified in https://github.com/whatwg/html/pull/3235.

Tag UXP Issue #1344
2020-01-31 07:40:30 +08:00
Roy Tam
678ad26488 Merge remote-tracking branch 'origin/master' into custom 2020-01-24 09:39:16 +08:00
wolfbeast
00d1bac44d Issue #1362 - Revert "Implement regular expression lookbehind"
This reverts commit fa473930f424bf17a9e545b601c84dd2e61364e3.
2020-01-24 09:10:50 +08:00
wolfbeast
7d2350c859 Issue #1362 - Revert "Update js/src/builtin/TestingFunctions.cpp for
regex lookbehind changes"

This reverts commit e79607a7a694dc2d48d65697b48138fa585145c9.
2020-01-24 09:10:47 +08:00
wolfbeast
844d2dd0ff Simplify some alias sets in IonMonkey. 2020-01-17 09:15:00 +08:00
Roy Tam
239002b5c9 Merge remote-tracking branch 'origin/master' into custom 2020-01-10 17:07:32 +08:00
wolfbeast
647d6033e0 Simplify value setting.
This gets rid of unused boolean return values on setters and a level of
indirection for calls to set values.
2020-01-10 17:06:55 +08:00
Roy Tam
b8ab527949 ported mozilla upstream bug: Bug 1607443 - Fix some alias sets. r=tcampbell, a=lizzard 2020-01-10 17:03:52 +08:00
Roy Tam
b74770e3f1 Merge remote-tracking branch 'origin/master' into custom 2019-12-28 21:20:53 +08:00
wolfbeast
b753aec164 Issue #1118 - Part 6: Fix various tests that are no longer correct.
The behavior change of document.open() requires these tests to be
changed to account for the new spec behavior.
2019-12-28 21:20:04 +08:00
Roy Tam
8db5c6f5a7 Merge remote-tracking branch 'origin/master' into custom 2019-12-20 09:08:13 +08:00
wolfbeast
48adbfd454 Issue #1322 - Part 2: Remove --enable-sm-promise buildconfig switch. 2019-12-20 09:07:26 +08:00
wolfbeast
40f99b202a Issue #1322 - Part 1: Remove the DOM Promise guts.
This removes all the parts guarded by SPIDERMONKEY_PROMISE
2019-12-20 09:07:24 +08:00