wolfbeast
b17a1f211e
Update tzdata SpiderMonkey files
2019-06-15 23:03:07 +02:00
wolfbeast
284b4cffd7
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-12 03:38:40 +02:00
wolfbeast
50062bdfc0
Fix #1091 deprot
2019-05-29 11:08:31 +02:00
wolfbeast
6cc615bbe5
Improve efficiency of (C++) heap allocations related to
...
BytecodeEmitter::code.
While there, also add some sanity checks and clean up code.
2019-05-28 18:03:08 +02:00
Lars T Hansen
a24d621309
[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-25 15:41:06 +02:00
wolfbeast
e24e6346b7
Fix architecture flag for PPC64
...
Fixes #1092
2019-05-25 00:31:24 +02:00
Moonchild
be8d03cf14
Merge pull request #1091 from MoonchildProductions/remove-unboxed
...
Remove unboxed objects phase 1
2019-05-22 14:14:18 +00:00
wolfbeast
41731a7f31
Implement Symbol.prototype.description
...
Resolves #1096
2019-05-20 02:50:01 +02:00
wolfbeast
162e22a7de
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-19 23:11:17 +02:00
wolfbeast
354c6dceec
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 01:04:30 +00:00
wolfbeast
201d8ee489
Remove Unboxed Objects from vm/ - Part 2
2019-05-16 21:34:42 +00:00
wolfbeast
fa8bfa1a00
Remove unboxed object code from jit, Part 1
2019-05-16 19:54:19 +00:00
wolfbeast
543fa1674b
Remove Unboxed Objects from vm/ Part 1 + fix deprot
2019-05-16 13:13:36 +00:00
wolfbeast
a5c2961c4e
Remove array header
2019-05-16 00:50:49 +00:00
wolfbeast
8feffe7079
Remove unboxed object code from iteration.
2019-05-15 20:56:36 +00:00
wolfbeast
5fd4b87267
Remove unboxed objects from GC
2019-05-15 20:37:51 +00:00
wolfbeast
d40bcc350c
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-15 13:18:33 +00:00
wolfbeast
3b36a43e8e
Remove initial chunk of Unboxed Objects machinery part 2
2019-05-15 02:06:04 +00:00
wolfbeast
9a3141515f
remove unboxed code chunk (wip1)
2019-05-14 11:44:11 +00:00
wolfbeast
3ded48cbe3
Unhook Unboxed Objects option
2019-05-13 15:45:32 +00:00
win7-7
2ec2389d7f
Braces and one more typo fix for comment
2019-04-30 15:07:04 +03:00
win7-7
31ea8c7e93
Whitespaces, typo, tabs to space
...
Remove whitespaces, correct comment typo, one more tab to space
2019-04-30 13:22:57 +03:00
win7-7
0c8c58314c
Remove rest of empty lines.
2019-04-30 12:37:16 +03:00
win7-7
a2dbd23b04
Remove some empty lines
2019-04-30 12:22:51 +03:00
win7-7
53e748f9bd
Remaining tabs to spaces JavaScriptShared.cpp
2019-04-30 11:06:55 +03:00
win7-7
4d03ec5c22
remaining tabs to space js/src/jsgc.cpp
2019-04-30 02:43:47 +03:00
win7-7
d59b5441ef
tab to spaces js/ipc
2019-04-30 02:40:55 +03:00
win7-7
9fb6b925fb
tab to spaces js/src/gc
2019-04-30 02:20:36 +03:00
win7-7
0e70828f2c
tab to spaces js/src
2019-04-30 02:16:38 +03:00
win7-7
038d437d74
Add newline at end of files
2019-04-29 15:37:46 +03:00
win7-7
6f15c693f7
Add newline at end of file js/src/builtin
2019-04-29 15:36:04 +03:00
win7-7
22116f9a70
add newline at end of files js/src/gc
2019-04-29 15:33:52 +03:00
win7-7
d57c13c6d8
Add newline at end of files js/src
2019-04-29 15:31:58 +03:00
win7-7
44e59151e3
Space to comment.
2019-04-29 12:32:23 +03:00
win7-7
cf319d581c
Improve dead compartment collection js/ipc
2019-04-29 12:08:50 +03:00
win7-7
bb1fad0fa7
Improve dead compartment collection js/src/builtin
2019-04-29 12:05:03 +03:00
win7-7
2cb4d2ee57
Improve dead compartment collection js/src/gc
2019-04-29 12:02:24 +03:00
win7-7
5a65d8739d
Improve dead compartment collection js/src
2019-04-29 11:59:46 +03:00
wolfbeast
51af3decb9
Remove useless assert.
...
Resolves #1055 .
2019-04-25 16:48:02 +02:00
wolfbeast
a5d22aa610
Rename TokenStream::reportStrictWarningErrorNumberVA to
...
TokenStream::reportExtraWarningErrorNumberVA for clarity.
Emit Extra Warnings instead of Strict Warnings from the BCE where
it makes sense.
2019-04-06 11:26:49 +02:00
wolfbeast
e88f15157f
Remove Parser::reportHelper since it's no longer used.
2019-04-06 11:22:00 +02:00
wolfbeast
f38ef66b7b
Inline Parser::reportHelper into its callers.
2019-04-06 11:20:43 +02:00
wolfbeast
4f62fda966
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-06 11:18:36 +02:00
wolfbeast
7ea8efe0cb
Report errors for bad increment/decrement operands using
...
explicitly-specified offsets.
2019-04-06 11:11:04 +02:00
wolfbeast
74672745e6
Simplify checking of targets within destructuring patterns.
2019-04-06 11:05:22 +02:00
wolfbeast
8580bf233e
Simplify increment/decrement operand checking.
2019-04-06 10:56:39 +02:00
wolfbeast
194e615521
Inline Parser::checkAssignmentToCall into its sole caller.
2019-04-06 10:55:02 +02:00
wolfbeast
f4fec66e09
Specify an explicit offset when reporting an error for a for-of loop
...
whose target is an expression that begins with 'let'.
2019-04-06 10:47:27 +02:00
wolfbeast
b579e0567c
Simplify checking of the left-hand side of assignment and compound
...
assignment expressions.
2019-04-06 10:46:15 +02:00
wolfbeast
8e8d0ed75c
Remove for-in/of loop parsing code that redundantly marks the loop
...
target as assigned -- Parser::forHeadStart already does this.
2019-04-06 10:44:48 +02:00