Commit graph

1,055 commits

Author SHA1 Message Date
Roy Tam
503c9e2175 Merge remote-tracking branch 'origin/master' into custom 2019-06-18 16:59:33 +08:00
wolfbeast
9c6678a2d3 Update tzdata SpiderMonkey files 2019-06-18 15:19:23 +08:00
Roy Tam
11fc0dd014 Merge remote-tracking branch 'origin/master' into custom 2019-06-15 06:28:55 +08:00
wolfbeast
f5923f0626 Add Atomics.notify instead of Atomics.wake according to revised spec.
- Keep .wake as an alias until we're certain it can be removed.
- Enable SAB memory
2019-06-15 06:27:46 +08:00
Roy Tam
6431b85501 Merge remote-tracking branch 'origin/master' into custom 2019-05-31 07:28:33 +08:00
wolfbeast
ad95798269 Fix #1091 deprot 2019-05-31 07:22:17 +08:00
wolfbeast
cdfd0e29e7 Improve efficiency of (C++) heap allocations related to
BytecodeEmitter::code.

While there, also add some sanity checks and clean up code.
2019-05-31 07:21:48 +08:00
Lars T Hansen
772e51c7b4 [js, ARM] Always check error return from BufferOffset::diffB.
We were missing error checks at two points. In one case an error return
is meaningful; in another case it is not, as the problem should have
been guarded against at a higher level by emitting far jump islands soon
enough during pasteup of compiled code.
2019-05-31 07:18:34 +08:00
wolfbeast
8ca43343c9 Fix architecture flag for PPC64
Fixes #1092
2019-05-31 07:17:15 +08:00
Roy Tam
8495414910 Merge remote-tracking branch 'origin/master' into custom 2019-05-24 21:59:29 +08:00
wolfbeast
2db998a4f8 Remove Unboxed Objects from vm/ - Part 2 2019-05-24 21:56:16 +08:00
wolfbeast
cc936df2e5 Remove unboxed object code from jit, Part 1 2019-05-24 21:56:13 +08:00
wolfbeast
37315e4898 Remove Unboxed Objects from vm/ Part 1 + fix deprot 2019-05-24 21:56:09 +08:00
wolfbeast
96c56fa091 Remove array header 2019-05-24 21:56:05 +08:00
wolfbeast
4dd127a34d Remove unboxed object code from iteration. 2019-05-24 21:56:01 +08:00
wolfbeast
d73dc74bd1 Remove unboxed objects from GC 2019-05-24 21:55:58 +08:00
wolfbeast
d7714885d1 Remove Unboxed Objects in ScalarReplacement
A note about the Scalar Replacement Changes: The M{Load,Store}Unboxed*
instructions in theory could be used to manipulate and analyze typed
arrays. However, TypedArrays should already be excluded from eligibility
because of the potential for cross-thread sharing in a SharedArrayBuffer
world, and so the only support in Scalar Replacement here is for Unboxed
Objects, meaning it can all be removed.
2019-05-24 21:55:55 +08:00
wolfbeast
fb23522087 Remove initial chunk of Unboxed Objects machinery part 2 2019-05-24 21:55:50 +08:00
wolfbeast
7b0eb7be8c remove unboxed code chunk (wip1) 2019-05-24 21:55:45 +08:00
wolfbeast
3c6346afa9 Unhook Unboxed Objects option 2019-05-24 21:55:41 +08:00
wolfbeast
ee01217265 Implement Symbol​.prototype​.description
Resolves #1096
2019-05-24 21:55:00 +08:00
wolfbeast
3538814b92 Implement array.flat and array.flatMap
Self-hosted implementation that adds both functions and adds them to
@@unscopables as specced in ES2019.
Resolves #1095
2019-05-24 21:54:58 +08:00
Roy Tam
ec217d91d9 Merge remote-tracking branch 'origin/master' into custom 2019-05-17 22:18:17 +08:00
wolfbeast
dee48511aa Implement String.prototype.trimStart and trimEnd.
This renames our internal function names because *Left and *Right might
be deprecated and have to be removed later, making that trivial.
Resolves #1089
2019-05-17 22:17:20 +08:00
Roy Tam
1d71489799 Merge remote-tracking branch 'origin/master' into custom 2019-05-03 21:40:08 +08:00
win7-7
b11e5bc2d3 Braces and one more typo fix for comment 2019-05-03 21:34:45 +08:00
win7-7
b584107330 Whitespaces, typo, tabs to space
Remove whitespaces, correct comment typo, one more tab to space
2019-05-03 21:34:42 +08:00
win7-7
297f99b0bf Remove rest of empty lines. 2019-05-03 21:34:39 +08:00
win7-7
1a8e4749c3 Remove some empty lines 2019-05-03 21:34:37 +08:00
win7-7
862e0cb3ea remaining tabs to space js/src/jsgc.cpp 2019-05-03 21:34:33 +08:00
win7-7
965a10e9ce tab to spaces js/src/gc 2019-05-03 21:32:20 +08:00
win7-7
4489faedab tab to spaces js/src 2019-05-03 21:32:17 +08:00
win7-7
b8a58dab87 Add newline at end of file js/src/builtin 2019-05-03 21:32:11 +08:00
win7-7
9051e1dd6a add newline at end of files js/src/gc 2019-05-03 21:32:09 +08:00
win7-7
41693aa70f Add newline at end of files js/src 2019-05-03 21:32:06 +08:00
win7-7
0e23aedfcd Space to comment. 2019-05-03 21:32:03 +08:00
win7-7
68a36fe36f Improve dead compartment collection js/src/builtin 2019-05-03 21:31:59 +08:00
win7-7
c1b4fc1442 Improve dead compartment collection js/src/gc 2019-05-03 21:31:57 +08:00
win7-7
a695e349d8 Improve dead compartment collection js/src 2019-05-03 21:31:55 +08:00
Roy Tam
2cb30a238c Merge remote-tracking branch 'origin/master' into custom 2019-04-27 09:01:02 +08:00
wolfbeast
ae2267db1e Remove useless assert.
Resolves #1055.
2019-04-27 08:55:51 +08:00
Roy Tam
2b48a6c6ee Merge remote-tracking branch 'origin/master' into custom 2019-04-13 07:34:39 +08:00
wolfbeast
0c3fb437a9 Rename TokenStream::reportStrictWarningErrorNumberVA to
TokenStream::reportExtraWarningErrorNumberVA for clarity.

Emit Extra Warnings instead of Strict Warnings from the BCE where
it makes sense.
2019-04-13 07:02:02 +08:00
wolfbeast
eea318fce4 Remove Parser::reportHelper since it's no longer used. 2019-04-13 07:02:00 +08:00
wolfbeast
d8bcfdb867 Inline Parser::reportHelper into its callers. 2019-04-13 07:01:58 +08:00
wolfbeast
ff81b6b3d8 Remove Parser::reportWithNode and its remaining callers.
All of the callsites have a full ParseNode* at hand, of which the offset
can be directly accessed.
2019-04-13 07:01:56 +08:00
wolfbeast
a389b4e151 Report errors for bad increment/decrement operands using
explicitly-specified offsets.
2019-04-13 07:01:54 +08:00
wolfbeast
33d09dce8b Simplify checking of targets within destructuring patterns. 2019-04-13 07:01:52 +08:00
wolfbeast
fd2042225e Simplify increment/decrement operand checking. 2019-04-13 07:01:51 +08:00
wolfbeast
598c71feb0 Inline Parser::checkAssignmentToCall into its sole caller. 2019-04-13 07:01:49 +08:00