Update test262 for Array#sort
[WebKit-https.git] / JSTests / ChangeLog
1 2018-06-12  Yusuke Suzuki  <utatane.tea@gmail.com>
2
3         Update test262 for Array#sort
4         https://bugs.webkit.org/show_bug.cgi?id=186458
5
6         * test262/expectations.yaml:
7
8 2018-06-10  Yusuke Suzuki  <utatane.tea@gmail.com>
9
10         [JSC] Array.prototype.sort should rejects null comparator
11         https://bugs.webkit.org/show_bug.cgi?id=186458
12
13         Reviewed by Keith Miller.
14
15         * ChakraCore/test/Array/array_sort.baseline-jsc:
16         * stress/array-sort-bad-comparator.js:
17         (test):
18         * stress/sort-null-comparator.js: Removed.
19         * test262/expectations.yaml:
20
21 2018-06-07  Saam Barati  <sbarati@apple.com>
22
23         Make DFG to FTL OSR entry code more sane by removing bad RELEASE_ASSERTS and making it trigger compiles in outer loops before inner ones
24         https://bugs.webkit.org/show_bug.cgi?id=186218
25         <rdar://problem/38449540>
26
27         Reviewed by Filip Pizlo.
28
29         * stress/dont-crash-ftl-osr-entry.js: Added.
30
31 2018-06-06  Yusuke Suzuki  <utatane.tea@gmail.com>
32
33         [DFG] Compare operations do not respect negative zeros
34         https://bugs.webkit.org/show_bug.cgi?id=183729
35
36         Reviewed by Saam Barati.
37
38         * stress/comparison-ignore-negative-zero.js: Added.
39         (shouldBe):
40         (zero):
41         (negativeZero):
42         (object.valueOf):
43         (test):
44
45 2018-06-06  Saam Barati  <sbarati@apple.com>
46
47         generateConditionsForInstanceOf needs to see if the object has a poly proto structure before assuming it has a constant prototype
48         https://bugs.webkit.org/show_bug.cgi?id=186363
49
50         Rubber-stamped by Filip Pizlo.
51
52         * stress/instance-of-on-poly-proto-opc-should-not-crash.js: Added.
53
54 2018-06-05  David Fenton  <david_fenton@apple.com>
55
56         Temporarily Skip JSC stress test failures that are consistently occurring.
57         https://bugs.webkit.org/show_bug.cgi?id=186283
58
59         Unreviewed test gardening.
60
61         * executableAllocationFuzz.yaml:
62         * slowMicrobenchmarks/default-derived-constructor.js:
63         * stress/put-direct-index-broken-2.js:
64         * stress/splay-flash-access.js:
65         * stress/spread-forward-call-varargs-stack-overflow.js:
66
67 2018-06-04  Keith Miller  <keith_miller@apple.com>
68
69         Add test for CoW conversions in the DFG/FTL
70         https://bugs.webkit.org/show_bug.cgi?id=186295
71
72         Reviewed by Saam Barati.
73
74         * stress/arrayprofile-should-not-convert-get-by-val-cow.js: Added.
75         (assertEq):
76         (withArrayArgInt32):
77         (withArrayLiteralInt32):
78         (withArrayArgDouble):
79         (withArrayLiteralDouble):
80         (withArrayArgContiguous):
81         (withArrayLiteralContiguous):
82         (test):
83
84 2018-06-02  Caio Lima  <ticaiolima@gmail.com>
85
86         [ESNext][BigInt] Implement support for addition operations
87         https://bugs.webkit.org/show_bug.cgi?id=179002
88
89         Reviewed by Yusuke Suzuki.
90
91         * bigIntTests.yaml:
92         * stress/addition-order-evaluation.js: Added.
93         * stress/big-int-add-wrapped-value.js: Added.
94         * stress/big-int-addition-basic.js: Added.
95         * stress/big-int-addition-jit.js: Added.
96         * stress/big-int-addition-memory-stress.js: Added.
97         * stress/big-int-addition-string-coercion.js: Added.
98         * stress/big-int-addition-to-primitive-precedence.js: Added.
99         * stress/big-int-addition-to-primitive.js: Added.
100         * stress/big-int-addition-type-error.js: Added.
101         * stress/big-int-no-conversion-to-number.js:
102         * stress/big-int-sub-wrapped-value.js: Added.
103         * stress/big-int-subtraction-basic.js: Added.
104         * stress/big-int-subtraction-jit.js: Added.
105         * stress/big-int-subtraction-type-error.js: Added.
106         * stress/sub-order-evaluation.js: Added.
107
108 2018-06-02  Commit Queue  <commit-queue@webkit.org>
109
110         Unreviewed, rolling out r232439.
111         https://bugs.webkit.org/show_bug.cgi?id=186238
112
113         It breaks gtk-linux-32-release (Requested by caiolima on
114         #webkit).
115
116         Reverted changeset:
117
118         "[ESNext][BigInt] Implement support for addition operations"
119         https://bugs.webkit.org/show_bug.cgi?id=179002
120         https://trac.webkit.org/changeset/232439
121
122 2018-06-01  Yusuke Suzuki  <utatane.tea@gmail.com>
123
124         Baseline op_jtrue emits an insane amount of code
125         https://bugs.webkit.org/show_bug.cgi?id=185708
126
127         Reviewed by Filip Pizlo.
128
129         * stress/logical-not-masquerades-as-undefined.js: Added.
130         (shouldBe):
131         (test):
132         * stress/logical-not.js: Added.
133         (shouldBe):
134         (test):
135
136 2018-06-02  Yusuke Suzuki  <utatane.tea@gmail.com>
137
138         [JSC] Remove WeakReferenceHarvester
139         https://bugs.webkit.org/show_bug.cgi?id=186102
140
141         Reviewed by Filip Pizlo.
142
143         * microbenchmarks/create-many-weak-map.js: Added.
144
145 2018-06-02  Yusuke Suzuki  <utatane.tea@gmail.com>
146
147         [JSC] Object.create should have intrinsic
148         https://bugs.webkit.org/show_bug.cgi?id=186200
149
150         Reviewed by Filip Pizlo.
151
152         * microbenchmarks/object-create-null.js: Added.
153         (test):
154         * microbenchmarks/object-create-unknown-object-prototype.js: Added.
155         (test):
156         * microbenchmarks/object-create-untyped-prototype.js: Added.
157         (test):
158         * stress/get-by-pname-only-prototype-properties.js: Added.
159         (foo):
160         * stress/object-create-define.js: Added.
161         (shouldBe):
162         (test):
163         * stress/object-create-null-external.js: Added.
164         (shouldBe):
165         (test):
166         * stress/object-create-null.js: Added.
167         (shouldBe):
168         (test):
169         * stress/object-create-prototype.js: Added.
170         (shouldBe):
171         (test):
172         * stress/object-create-undefined.js: Added.
173         (shouldThrow):
174         (i.shouldThrow):
175
176 2018-06-02  Caio Lima  <ticaiolima@gmail.com>
177
178         [ESNext][BigInt] Implement support for addition operations
179         https://bugs.webkit.org/show_bug.cgi?id=179002
180
181         Reviewed by Yusuke Suzuki.
182
183         * bigIntTests.yaml:
184         * stress/addition-order-evaluation.js: Added.
185         * stress/big-int-add-wrapped-value.js: Added.
186         * stress/big-int-addition-basic.js: Added.
187         * stress/big-int-addition-jit.js: Added.
188         * stress/big-int-addition-memory-stress.js: Added.
189         * stress/big-int-addition-string-coercion.js: Added.
190         * stress/big-int-addition-to-primitive-precedence.js: Added.
191         * stress/big-int-addition-to-primitive.js: Added.
192         * stress/big-int-addition-type-error.js: Added.
193         * stress/big-int-no-conversion-to-number.js:
194         * stress/big-int-sub-wrapped-value.js: Added.
195         * stress/big-int-subtraction-basic.js: Added.
196         * stress/big-int-subtraction-jit.js: Added.
197         * stress/big-int-subtraction-type-error.js: Added.
198         * stress/sub-order-evaluation.js: Added.
199
200 2018-05-29  Yusuke Suzuki  <utatane.tea@gmail.com>
201
202         [JSC] Add Symbol.prototype.description getter
203         https://bugs.webkit.org/show_bug.cgi?id=186053
204
205         Reviewed by Keith Miller.
206
207         * stress/symbol-description.js: Added.
208         (shouldBe):
209         (shouldThrow):
210
211 2018-05-30  Yusuke Suzuki  <utatane.tea@gmail.com>
212
213         [DFG] InById should be converted to MatchStructure
214         https://bugs.webkit.org/show_bug.cgi?id=185803
215
216         Reviewed by Keith Miller.
217
218         * microbenchmarks/in-by-id-match.js: Added.
219         (test):
220         * microbenchmarks/in-by-id-removed.js: Added.
221         (test):
222         * stress/in-by-id-constant.js: Added.
223         (shouldBe):
224         (test1):
225         * stress/in-by-id-match-invalid.js: Added.
226         (shouldBe):
227         (test1):
228         * stress/in-by-id-match.js: Added.
229         (shouldBe):
230         (test1):
231
232 2018-05-31  Caio Lima  <ticaiolima@gmail.com>
233
234         [ESNext][BigInt] Implement support for "=<" and ">=" relational operation
235         https://bugs.webkit.org/show_bug.cgi?id=185929
236
237         Reviewed by Yusuke Suzuki.
238
239         * bigIntTests.yaml:
240         * stress/big-int-greater-than-or-equal-jit.js: Added.
241         * stress/big-int-greater-than-or-equal-order-of-evaluation.js: Added.
242         * stress/big-int-greater-than-or-equal-wrapped-values.js: Added.
243         * stress/big-int-greater-than-or-equal.js: Added.
244         * stress/big-int-less-than-or-equal-general.js: Added.
245         * stress/big-int-less-than-or-equal-jit.js: Added.
246         * stress/big-int-less-than-or-equal-order-of-evaluation.js: Added.
247         * stress/big-int-less-than-or-equal-wrapped-values.js: Added.
248
249 2018-05-31  Saam Barati  <sbarati@apple.com>
250
251         Cache toString results for CoW arrays
252         https://bugs.webkit.org/show_bug.cgi?id=186160
253
254         Reviewed by Keith Miller.
255
256         * microbenchmarks/to-string-on-cow-array.js: Added.
257         (foo):
258
259 2018-05-31  Keith Miller  <keith_miller@apple.com>
260
261         Rebaseline test for change in Error.stack behavior.
262
263         * stress/error-stack-trace-limit.js:
264         (numberOfFrames):
265
266 2018-05-30  Saam Barati  <sbarati@apple.com>
267
268         DFG combined liveness needs to say that the machine CodeBlock's arguments are live
269         https://bugs.webkit.org/show_bug.cgi?id=186121
270         <rdar://problem/39377796>
271
272         Reviewed by Keith Miller.
273
274         * stress/combined-liveness-needs-to-say-arguments-are-live.js: Added.
275         (baz):
276         (foo):
277
278 2018-05-30  Keith Miller  <keith_miller@apple.com>
279
280         Unreviewed, uncomment erroneously commented test code.
281
282         * stress/error-stack-trace-limit.js:
283
284 2018-05-30  Keith Miller  <keith_miller@apple.com>
285
286         LLInt get_by_id prototype caching doesn't properly handle changes
287         https://bugs.webkit.org/show_bug.cgi?id=186112
288
289         Reviewed by Filip Pizlo.
290
291         * stress/llint-proto-get-by-id-cache-change-prototype.js: Added.
292         (foo):
293         * stress/llint-proto-get-by-id-cache-intercept-value.js: Added.
294         (foo):
295
296 2018-05-30  Caio Lima  <ticaiolima@gmail.com>
297
298         [ESNext][BigInt] Implement support for "%" operation
299         https://bugs.webkit.org/show_bug.cgi?id=184327
300
301         Reviewed by Yusuke Suzuki.
302
303         * bigIntTests.yaml:
304         * stress/big-int-mod-memory-stress.js: Added.
305         * stress/big-int-mod-to-primitive-precedence.js: Added.
306         * stress/big-int-mod-to-primitive.js: Added.
307         * stress/big-int-mod-type-error.js: Added.
308         * stress/big-int-mod-wrapped-value.js: Added.
309         * stress/big-int-mod.js: Added.
310
311 2018-05-29  Caitlin Potter  <caitp@igalia.com>
312
313         [JSTests] update test262 expectations after r232261
314         https://bugs.webkit.org/show_bug.cgi?id=184267
315
316         Reviewed by Saam Barati.
317
318         * test262/expectations.yaml:
319
320 2018-05-29  Caio Lima  <ticaiolima@gmail.com>
321
322         [ESNext][BigInt] Implement support for "<" and ">" relational operation
323         https://bugs.webkit.org/show_bug.cgi?id=185379
324
325         Reviewed by Yusuke Suzuki.
326
327         * stress/big-int-greater-than-general.js: Added.
328         * stress/big-int-greater-than-jit.js: Added.
329         * stress/big-int-greater-than-order-of-evaluation.js: Added.
330         * stress/big-int-greater-than-wrapped-values.js: Added.
331         * stress/big-int-less-than-general.js: Added.
332         * stress/big-int-less-than-jit.js: Added.
333         * stress/big-int-less-than-order-of-evaluation.js: Added.
334         * stress/big-int-less-than-wrapped-values.js: Added.
335
336 2018-05-29  Caitlin Potter  <caitp@igalia.com>
337
338         [JSC] Fix Array.prototype.concat fast case when single argument is Proxy
339         https://bugs.webkit.org/show_bug.cgi?id=184267
340
341         Reviewed by Saam Barati.
342
343         * stress/array-concat-fast-spread-proxy.js: Copied from JSTests/stress/array-concat-spread-proxy.js.
344         (arrayEq):
345         (catch):
346         * stress/array-concat-spread-proxy.js:
347
348 2018-05-27  Caio Lima  <ticaiolima@gmail.com>
349
350         [ESNext][BigInt] Implement "+" and "-" unary operation
351         https://bugs.webkit.org/show_bug.cgi?id=182214
352
353         Reviewed by Yusuke Suzuki.
354
355         * stress/big-int-negate-basic.js: Added.
356         * stress/big-int-negate-jit.js: Added.
357         * stress/big-int-unary-plus.js: Added.
358
359 2018-05-26  Yusuke Suzuki  <utatane.tea@gmail.com>
360
361         [JSC] Rename Array#flatten to flat
362         https://bugs.webkit.org/show_bug.cgi?id=186012
363
364         Reviewed by Saam Barati.
365
366         * stress/array-flatten.js:
367         (shouldThrow):
368         * test262/expectations.yaml:
369
370 2018-05-23  Yusuke Suzuki  <utatane.tea@gmail.com>
371
372         Upgrade test262 to May 24 version
373         https://bugs.webkit.org/show_bug.cgi?id=185937
374
375         Reviewed by Darin Adler.
376
377         * test262/expectations.yaml:
378         * test262/harness/doneprintHandle.js:
379         (DONE):
380         * test262/latest-changes-summary.txt:
381         * test262/test/annexB/language/eval-code/direct/global-block-decl-eval-global-existing-global-init.js:
382         * test262/test/annexB/language/eval-code/direct/global-block-decl-eval-global-existing-non-enumerable-global-init.js: Added.
383         * test262/test/annexB/language/eval-code/direct/global-if-decl-else-decl-a-eval-global-existing-global-init.js:
384         * test262/test/annexB/language/eval-code/direct/global-if-decl-else-decl-a-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/direct/global-if-decl-else-decl-a-eval-global-existing-global-init.js.
385         * test262/test/annexB/language/eval-code/direct/global-if-decl-else-decl-b-eval-global-existing-global-init.js:
386         * test262/test/annexB/language/eval-code/direct/global-if-decl-else-decl-b-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/direct/global-if-decl-else-decl-b-eval-global-existing-global-init.js.
387         * test262/test/annexB/language/eval-code/direct/global-if-decl-else-stmt-eval-global-existing-global-init.js:
388         * test262/test/annexB/language/eval-code/direct/global-if-decl-else-stmt-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/direct/global-if-decl-else-stmt-eval-global-existing-global-init.js.
389         * test262/test/annexB/language/eval-code/direct/global-if-decl-no-else-eval-global-existing-global-init.js:
390         * test262/test/annexB/language/eval-code/direct/global-if-decl-no-else-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/direct/global-if-decl-no-else-eval-global-existing-global-init.js.
391         * test262/test/annexB/language/eval-code/direct/global-if-stmt-else-decl-eval-global-existing-global-init.js:
392         * test262/test/annexB/language/eval-code/direct/global-if-stmt-else-decl-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/direct/global-if-stmt-else-decl-eval-global-existing-global-init.js.
393         * test262/test/annexB/language/eval-code/direct/global-switch-case-eval-global-existing-global-init.js:
394         * test262/test/annexB/language/eval-code/direct/global-switch-case-eval-global-existing-non-enumerable-global-init.js: Added.
395         * test262/test/annexB/language/eval-code/direct/global-switch-dflt-eval-global-existing-global-init.js:
396         * test262/test/annexB/language/eval-code/direct/global-switch-dflt-eval-global-existing-non-enumerable-global-init.js: Added.
397         * test262/test/annexB/language/eval-code/indirect/global-block-decl-eval-global-existing-global-init.js:
398         * test262/test/annexB/language/eval-code/indirect/global-block-decl-eval-global-existing-non-enumerable-global-init.js: Added.
399         * test262/test/annexB/language/eval-code/indirect/global-if-decl-else-decl-a-eval-global-existing-global-init.js:
400         * test262/test/annexB/language/eval-code/indirect/global-if-decl-else-decl-a-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/indirect/global-if-decl-else-decl-a-eval-global-existing-global-init.js.
401         * test262/test/annexB/language/eval-code/indirect/global-if-decl-else-decl-b-eval-global-existing-global-init.js:
402         * test262/test/annexB/language/eval-code/indirect/global-if-decl-else-decl-b-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/indirect/global-if-decl-else-decl-b-eval-global-existing-global-init.js.
403         * test262/test/annexB/language/eval-code/indirect/global-if-decl-else-stmt-eval-global-existing-global-init.js:
404         * test262/test/annexB/language/eval-code/indirect/global-if-decl-else-stmt-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/indirect/global-if-decl-else-stmt-eval-global-existing-global-init.js.
405         * test262/test/annexB/language/eval-code/indirect/global-if-decl-no-else-eval-global-existing-global-init.js:
406         * test262/test/annexB/language/eval-code/indirect/global-if-decl-no-else-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/indirect/global-if-decl-no-else-eval-global-existing-global-init.js.
407         * test262/test/annexB/language/eval-code/indirect/global-if-stmt-else-decl-eval-global-existing-global-init.js:
408         * test262/test/annexB/language/eval-code/indirect/global-if-stmt-else-decl-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/indirect/global-if-stmt-else-decl-eval-global-existing-global-init.js.
409         * test262/test/annexB/language/eval-code/indirect/global-switch-case-eval-global-existing-global-init.js:
410         * test262/test/annexB/language/eval-code/indirect/global-switch-case-eval-global-existing-non-enumerable-global-init.js: Added.
411         * test262/test/annexB/language/eval-code/indirect/global-switch-dflt-eval-global-existing-global-init.js:
412         * test262/test/annexB/language/eval-code/indirect/global-switch-dflt-eval-global-existing-non-enumerable-global-init.js: Added.
413         * test262/test/annexB/language/global-code/block-decl-global-existing-global-init.js: Added.
414         (262.evalScript.f):
415         * test262/test/annexB/language/global-code/block-decl-global-existing-non-enumerable-global-init.js: Added.
416         (262.evalScript.f):
417         * test262/test/annexB/language/global-code/if-decl-else-decl-a-global-existing-global-init.js: Added.
418         (262.evalScript.true.f):
419         (else._f):
420         * test262/test/annexB/language/global-code/if-decl-else-decl-a-global-existing-non-enumerable-global-init.js: Added.
421         (262.evalScript.true.f):
422         (else._f):
423         * test262/test/annexB/language/global-code/if-decl-else-decl-b-global-existing-global-init.js: Added.
424         (262.evalScript.false._f):
425         (else.f):
426         * test262/test/annexB/language/global-code/if-decl-else-decl-b-global-existing-non-enumerable-global-init.js: Added.
427         (262.evalScript.false._f):
428         (else.f):
429         * test262/test/annexB/language/global-code/if-decl-else-stmt-global-existing-global-init.js: Added.
430         (262.evalScript.true.f):
431         * test262/test/annexB/language/global-code/if-decl-else-stmt-global-existing-non-enumerable-global-init.js: Added.
432         (262.evalScript.true.f):
433         * test262/test/annexB/language/global-code/if-decl-no-else-global-existing-global-init.js: Added.
434         (262.evalScript.true.f):
435         * test262/test/annexB/language/global-code/if-decl-no-else-global-existing-non-enumerable-global-init.js: Added.
436         (262.evalScript.true.f):
437         * test262/test/annexB/language/global-code/if-stmt-else-decl-global-existing-global-init.js: Added.
438         (else.f):
439         * test262/test/annexB/language/global-code/if-stmt-else-decl-global-existing-non-enumerable-global-init.js: Added.
440         (else.f):
441         * test262/test/annexB/language/global-code/switch-case-global-existing-global-init.js: Added.
442         (262.evalScript.switch.case.1):
443         (262.evalScript.switch):
444         * test262/test/annexB/language/global-code/switch-case-global-existing-non-enumerable-global-init.js: Added.
445         (262.evalScript.switch.case.1):
446         (262.evalScript.switch):
447         * test262/test/annexB/language/global-code/switch-dflt-global-existing-global-init.js: Added.
448         (262.evalScript.switch.default):
449         (262.evalScript.switch):
450         * test262/test/annexB/language/global-code/switch-dflt-global-existing-non-enumerable-global-init.js: Added.
451         (262.evalScript.switch.default):
452         (262.evalScript.switch):
453         * test262/test/built-ins/Array/prototype/flat/array-like-objects.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/array-like-objects.js.
454         * test262/test/built-ins/Array/prototype/flat/bound-function-call.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/bound-function-call.js.
455         * test262/test/built-ins/Array/prototype/flat/empty-array-elements.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/empty-array-elements.js.
456         * test262/test/built-ins/Array/prototype/flat/empty-object-elements.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/empty-object-elements.js.
457         * test262/test/built-ins/Array/prototype/flat/length.js: Added.
458         * test262/test/built-ins/Array/prototype/flat/name.js: Added.
459         * test262/test/built-ins/Array/prototype/flat/non-numeric-depth-should-not-throw.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/non-numeric-depth-should-not-throw.js.
460         * test262/test/built-ins/Array/prototype/flat/non-object-ctor-throws.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/non-object-ctor-throws.js.
461         * test262/test/built-ins/Array/prototype/flat/null-undefined-elements.js: Added.
462         * test262/test/built-ins/Array/prototype/flat/null-undefined-input-throws.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/null-undefined-input-throws.js.
463         * test262/test/built-ins/Array/prototype/flat/positive-infinity.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/positive-infinity.js.
464         * test262/test/built-ins/Array/prototype/flat/prop-desc.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/prop-desc.js.
465         * test262/test/built-ins/Array/prototype/flat/symbol-object-create-null-depth-throws.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/symbol-object-create-null-depth-throws.js.
466         * test262/test/built-ins/Array/prototype/flatten/length.js: Removed.
467         * test262/test/built-ins/Array/prototype/flatten/name.js: Removed.
468         * test262/test/built-ins/Array/prototype/flatten/null-undefined-elements.js: Removed.
469         * test262/test/built-ins/AsyncGeneratorPrototype/next/name.js:
470         * test262/test/built-ins/AsyncGeneratorPrototype/return/name.js:
471         * test262/test/built-ins/AsyncGeneratorPrototype/throw/name.js:
472         * test262/test/built-ins/Math/acosh/nan-returns.js:
473         * test262/test/built-ins/Math/asinh/asinh-specialVals.js:
474         * test262/test/built-ins/Math/atanh/atanh-specialVals.js:
475         * test262/test/built-ins/Math/cbrt/cbrt-specialValues.js:
476         * test262/test/built-ins/Math/cbrt/prop-desc.js:
477         * test262/test/built-ins/Math/cosh/cosh-specialVals.js:
478         * test262/test/built-ins/Math/expm1/expm1-specialVals.js:
479         * test262/test/built-ins/Math/log10/Log10-specialVals.js:
480         * test262/test/built-ins/Math/log2/log2-basicTests.js:
481         * test262/test/built-ins/Math/sign/sign-specialVals.js:
482         * test262/test/built-ins/Math/sinh/sinh-specialVals.js:
483         * test262/test/built-ins/Math/tanh/tanh-specialVals.js:
484         * test262/test/built-ins/Math/trunc/trunc-sampleTests.js:
485         * test262/test/built-ins/Math/trunc/trunc-specialVals.js:
486         * test262/test/built-ins/Object/internals/DefineOwnProperty/consistent-value-regexp-dollar1.js: Added.
487         * test262/test/built-ins/Object/internals/DefineOwnProperty/consistent-writable-regexp-dollar1.js: Added.
488         * test262/test/intl402/Intl/getCanonicalLocales/descriptor.js:
489         * test262/test/intl402/Intl/getCanonicalLocales/duplicates.js:
490         * test262/test/intl402/Locale/constructor-getter-order.js: Added.
491         (new.Intl.Locale.toString):
492         (get language):
493         (get script):
494         (get region):
495         (get calendar):
496         (get collation):
497         (get hourCycle):
498         (get caseFirst):
499         (get numeric):
500         (get numberingSystem):
501         * test262/test/intl402/Locale/constructor-locale-object.js: Added.
502         * test262/test/intl402/Locale/constructor-non-iana-canon.js: Added.
503         * test262/test/intl402/Locale/constructor-options-casefirst-invalid.js: Added.
504         (valueOf):
505         (const.invalidCaseFirstOption.of.invalidCaseFirstOptions.new.Intl.Locale):
506         * test262/test/intl402/Locale/constructor-options-casefirst-valid.js: Added.
507         (toString):
508         * test262/test/intl402/Locale/constructor-options-collation-invalid.js: Added.
509         (const.invalidCollationOption.of.invalidCollationOptions.new.Intl.Locale):
510         * test262/test/intl402/Locale/constructor-options-collation-valid.js: Added.
511         * test262/test/intl402/Locale/constructor-options-hourcycle-invalid.js: Added.
512         (const.invalidHourCycleOption.of.invalidHourCycleOptions.new.Intl.Locale):
513         * test262/test/intl402/Locale/constructor-options-hourcycle-valid.js: Added.
514         (toString):
515         * test262/test/intl402/Locale/constructor-options-language-grandfathered.js: Added.
516         * test262/test/intl402/Locale/constructor-options-language-valid.js:
517         (toString):
518         * test262/test/intl402/Locale/constructor-options-numberingsystem-invalid.js: Added.
519         (const.invalidNumberingSystemOption.of.invalidNumberingSystemOptions.new.Intl.Locale):
520         * test262/test/intl402/Locale/constructor-options-numberingsystem-valid.js: Added.
521         * test262/test/intl402/Locale/constructor-options-numeric-valid.js: Added.
522         (valueOf):
523         * test262/test/intl402/Locale/constructor-options-region-valid.js:
524         * test262/test/intl402/Locale/constructor-options-script-valid.js:
525         (toString):
526         * test262/test/intl402/Locale/constructor-parse-twice.js: Added.
527         * test262/test/intl402/Locale/constructor-tag-tostring.js: Added.
528         (CustomError):
529         (WrongCustomError):
530         (const.errors.get Symbol):
531         (throw.new.CustomError):
532         (throw.new.CustomError.get toString):
533         (throw.new.CustomError.get valueOf):
534         (throw.new.WrongCustomError.get valueOf):
535         (throw.new.WrongCustomError):
536         * test262/test/intl402/Locale/constructor-unicode-ext-invalid.js: Added.
537         * test262/test/intl402/Locale/constructor-unicode-ext-valid.js: Added.
538         (canonical.of.Object.entries):
539         * test262/test/intl402/Locale/extensions-grandfathered.js: Added.
540         (of.testData.value.of.Object.entries):
541         * test262/test/intl402/Locale/extensions-private.js: Added.
542         * test262/test/intl402/Locale/getters-grandfathered.js: Added.
543         * test262/test/intl402/Locale/getters-missing.js: Added.
544         * test262/test/intl402/Locale/getters-privateuse.js: Added.
545         * test262/test/intl402/Locale/getters.js: Added.
546         * test262/test/intl402/Locale/invalid-tag-throws-symbol.js:
547         * test262/test/intl402/Locale/likely-subtags-grandfathered.js: Added.
548         * test262/test/intl402/Locale/prop-desc.js:
549         * test262/test/intl402/Locale/prototype/baseName/prop-desc.js: Added.
550         * test262/test/intl402/Locale/prototype/calendar/prop-desc.js: Added.
551         * test262/test/intl402/Locale/prototype/caseFirst/prop-desc.js: Added.
552         * test262/test/intl402/Locale/prototype/collation/prop-desc.js: Added.
553         * test262/test/intl402/Locale/prototype/constructor/prop-desc.js: Copied from JSTests/test262/test/intl402/Locale/prototype/constructor.js.
554         * test262/test/intl402/Locale/prototype/hourCycle/prop-desc.js: Added.
555         * test262/test/intl402/Locale/prototype/language/prop-desc.js: Added.
556         * test262/test/intl402/Locale/prototype/maximize/length.js:
557         * test262/test/intl402/Locale/prototype/maximize/prop-desc.js:
558         * test262/test/intl402/Locale/prototype/minimize/length.js: Copied from JSTests/test262/test/intl402/Locale/prototype/maximize/length.js.
559         * test262/test/intl402/Locale/prototype/minimize/name.js: Added.
560         * test262/test/intl402/Locale/prototype/minimize/prop-desc.js: Copied from JSTests/test262/test/intl402/Locale/prototype/constructor.js.
561         * test262/test/intl402/Locale/prototype/numberingSystem/prop-desc.js: Added.
562         * test262/test/intl402/Locale/prototype/numeric/prop-desc.js: Added.
563         * test262/test/intl402/Locale/prototype/region/prop-desc.js: Added.
564         * test262/test/intl402/Locale/prototype/script/prop-desc.js: Added.
565         * test262/test/intl402/Locale/prototype/toString/prop-desc.js: Renamed from JSTests/test262/test/intl402/Locale/prototype/constructor.js.
566         * test262/test/intl402/Locale/prototype/toStringTag/toStringTag.js: Renamed from JSTests/test262/test/intl402/Locale/prototype/toStringTag.js.
567         * test262/test/intl402/Number/prototype/toLocaleString/length.js:
568         * test262/test/intl402/NumberFormat/length.js:
569         * test262/test/intl402/NumberFormat/name.js:
570         * test262/test/intl402/NumberFormat/prop-desc.js:
571         * test262/test/intl402/PluralRules/length.js:
572         * test262/test/intl402/PluralRules/name.js:
573         * test262/test/intl402/PluralRules/prop-desc.js: Copied from JSTests/test262/test/intl402/NumberFormat/prop-desc.js.
574         * test262/test/language/expressions/addition/bigint-and-number.js:
575         * test262/test/language/expressions/addition/bigint-arithmetic.js:
576         (testAdd): Deleted.
577         * test262/test/language/expressions/addition/bigint-errors.js:
578         (Symbol.toPrimitive):
579         (0n.Symbol.toPrimitive):
580         (valueOf):
581         (0n.valueOf):
582         (toString):
583         (0n.toString):
584         * test262/test/language/expressions/addition/bigint-toprimitive.js:
585         * test262/test/language/expressions/addition/bigint-wrapped-values.js:
586         * test262/test/language/expressions/bitwise-and/bigint-and-number.js:
587         * test262/test/language/expressions/bitwise-and/bigint-errors.js:
588         (Symbol.toPrimitive):
589         (0n.Symbol.toPrimitive):
590         (valueOf):
591         (0n.valueOf):
592         (toString):
593         (0n.toString):
594         * test262/test/language/expressions/bitwise-and/bigint-non-primitive.js:
595         (assert.sameValue.Symbol.toPrimitive):
596         (assert.sameValue.0b011n.Symbol.toPrimitive):
597         (assert.sameValue.valueOf):
598         (assert.sameValue.0b011n.valueOf):
599         (assert.sameValue.toString):
600         (assert.sameValue.0b011n.toString):
601         * test262/test/language/expressions/bitwise-and/bigint-toprimitive.js:
602         * test262/test/language/expressions/bitwise-and/bigint-wrapped-values.js:
603         * test262/test/language/expressions/bitwise-not/bigint-non-primitive.js:
604         (assert.sameValue.Symbol.toPrimitive):
605         (assert.sameValue.valueOf):
606         (assert.sameValue.toString):
607         * test262/test/language/expressions/bitwise-or/bigint-and-number.js:
608         * test262/test/language/expressions/bitwise-or/bigint-errors.js:
609         (Symbol.toPrimitive):
610         (0n.Symbol.toPrimitive):
611         (valueOf):
612         (0n.valueOf):
613         (toString):
614         (0n.toString):
615         * test262/test/language/expressions/bitwise-or/bigint-non-primitive.js:
616         (assert.sameValue.Symbol.toPrimitive):
617         (assert.sameValue.0b011n.Symbol.toPrimitive):
618         (assert.sameValue.valueOf):
619         (assert.sameValue.0b011n.valueOf):
620         (assert.sameValue.toString):
621         (assert.sameValue.0b011n.toString):
622         * test262/test/language/expressions/bitwise-or/bigint-toprimitive.js:
623         * test262/test/language/expressions/bitwise-or/bigint-wrapped-values.js:
624         * test262/test/language/expressions/bitwise-xor/bigint-and-number.js:
625         * test262/test/language/expressions/bitwise-xor/bigint-errors.js:
626         (Symbol.toPrimitive):
627         (0n.Symbol.toPrimitive):
628         (valueOf):
629         (0n.valueOf):
630         (toString):
631         (0n.toString):
632         * test262/test/language/expressions/bitwise-xor/bigint-non-primitive.js:
633         (assert.sameValue.Symbol.toPrimitive):
634         (assert.sameValue.0b011n.Symbol.toPrimitive):
635         (assert.sameValue.valueOf):
636         (assert.sameValue.0b011n.valueOf):
637         (assert.sameValue.toString):
638         (assert.sameValue.0b011n.toString):
639         * test262/test/language/expressions/bitwise-xor/bigint-toprimitive.js:
640         * test262/test/language/expressions/bitwise-xor/bigint-wrapped-values.js:
641         * test262/test/language/expressions/division/bigint-and-number.js:
642         * test262/test/language/expressions/division/bigint-arithmetic.js:
643         (testDiv): Deleted.
644         * test262/test/language/expressions/division/bigint-complex-infinity.js:
645         * test262/test/language/expressions/division/bigint-errors.js:
646         (Symbol.toPrimitive):
647         (0n.Symbol.toPrimitive):
648         (valueOf):
649         (0n.valueOf):
650         (toString):
651         (0n.toString):
652         * test262/test/language/expressions/division/bigint-toprimitive.js:
653         * test262/test/language/expressions/division/bigint-wrapped-values.js:
654         * test262/test/language/expressions/does-not-equals/bigint-and-bigint.js:
655         * test262/test/language/expressions/does-not-equals/bigint-and-boolean.js:
656         * test262/test/language/expressions/does-not-equals/bigint-and-incomparable-primitive.js:
657         * test262/test/language/expressions/does-not-equals/bigint-and-non-finite.js:
658         * test262/test/language/expressions/does-not-equals/bigint-and-number-extremes.js:
659         * test262/test/language/expressions/does-not-equals/bigint-and-number.js:
660         * test262/test/language/expressions/does-not-equals/bigint-and-object.js:
661         (assert.sameValue.0n.valueOf):
662         (assert.sameValue.valueOf):
663         (assert.sameValue.0n.toString):
664         (assert.sameValue.toString):
665         (assert.sameValue.900719925474099101n.valueOf):
666         (assert.sameValue.900719925474099101n.toString):
667         * test262/test/language/expressions/does-not-equals/bigint-and-string.js:
668         * test262/test/language/expressions/equals/bigint-and-bigint.js:
669         * test262/test/language/expressions/equals/bigint-and-boolean.js:
670         * test262/test/language/expressions/equals/bigint-and-incomparable-primitive.js:
671         * test262/test/language/expressions/equals/bigint-and-non-finite.js:
672         * test262/test/language/expressions/equals/bigint-and-number-extremes.js:
673         * test262/test/language/expressions/equals/bigint-and-number.js:
674         * test262/test/language/expressions/equals/bigint-and-object.js:
675         (assert.sameValue.0n.valueOf):
676         (assert.sameValue.valueOf):
677         (assert.sameValue.0n.toString):
678         (assert.sameValue.toString):
679         (assert.sameValue.900719925474099101n.valueOf):
680         (assert.sameValue.900719925474099101n.toString):
681         * test262/test/language/expressions/equals/bigint-and-string.js:
682         * test262/test/language/expressions/exponentiation/bigint-and-number.js:
683         * test262/test/language/expressions/exponentiation/bigint-arithmetic.js:
684         (testExpt): Deleted.
685         * test262/test/language/expressions/exponentiation/bigint-errors.js:
686         (Symbol.toPrimitive):
687         (0n.Symbol.toPrimitive):
688         (valueOf):
689         (0n.valueOf):
690         (toString):
691         (0n.toString):
692         * test262/test/language/expressions/exponentiation/bigint-negative-exponent-throws.js: Renamed from JSTests/test262/test/language/expressions/exponentiation/bigint-exp-operator-negative-throws.js.
693         * test262/test/language/expressions/exponentiation/bigint-toprimitive.js:
694         * test262/test/language/expressions/exponentiation/bigint-wrapped-values.js:
695         * test262/test/language/expressions/exponentiation/bigint-zero-base-zero-exponent.js:
696         * test262/test/language/expressions/greater-than-or-equal/bigint-and-bigint.js:
697         * test262/test/language/expressions/greater-than-or-equal/bigint-and-incomparable-string.js:
698         * test262/test/language/expressions/greater-than-or-equal/bigint-and-non-finite.js:
699         * test262/test/language/expressions/greater-than-or-equal/bigint-and-number-extremes.js:
700         * test262/test/language/expressions/greater-than-or-equal/bigint-and-number.js:
701         * test262/test/language/expressions/greater-than-or-equal/bigint-and-string.js:
702         * test262/test/language/expressions/greater-than/11.8.2-1.js:
703         (obj1.valueOf):
704         (obj2.valueOf):
705         * test262/test/language/expressions/greater-than/11.8.2-2.js:
706         (obj1.valueOf):
707         (obj2.toString):
708         * test262/test/language/expressions/greater-than/11.8.2-3.js:
709         (obj1.toString):
710         (obj2.valueOf):
711         * test262/test/language/expressions/greater-than/11.8.2-4.js:
712         (obj1.toString):
713         (obj2.toString):
714         * test262/test/language/expressions/greater-than/bigint-and-bigint.js:
715         * test262/test/language/expressions/greater-than/bigint-and-boolean.js:
716         * test262/test/language/expressions/greater-than/bigint-and-incomparable-string.js:
717         * test262/test/language/expressions/greater-than/bigint-and-non-finite.js:
718         * test262/test/language/expressions/greater-than/bigint-and-number-extremes.js:
719         * test262/test/language/expressions/greater-than/bigint-and-number.js:
720         * test262/test/language/expressions/greater-than/bigint-and-string.js:
721         * test262/test/language/expressions/greater-than/bigint-and-symbol.js: Added.
722         * test262/test/language/expressions/left-shift/bigint-and-number.js:
723         * test262/test/language/expressions/left-shift/bigint-errors.js:
724         (Symbol.toPrimitive):
725         (0n.Symbol.toPrimitive):
726         (valueOf):
727         (0n.valueOf):
728         (toString):
729         (0n.toString):
730         * test262/test/language/expressions/left-shift/bigint-non-primitive.js:
731         (assert.sameValue.Symbol.toPrimitive):
732         (assert.sameValue.valueOf):
733         (assert.sameValue.toString):
734         (assert.sameValue.0b101n.Symbol.toPrimitive):
735         (assert.sameValue.0b101n.valueOf):
736         (assert.sameValue.0b101n.toString):
737         (valueOf):
738         * test262/test/language/expressions/left-shift/bigint-toprimitive.js:
739         * test262/test/language/expressions/left-shift/bigint-wrapped-values.js:
740         * test262/test/language/expressions/less-than-or-equal/11.8.3-1.js:
741         (obj1.valueOf):
742         (obj2.valueOf):
743         * test262/test/language/expressions/less-than-or-equal/11.8.3-2.js:
744         (obj1.valueOf):
745         (obj2.toString):
746         * test262/test/language/expressions/less-than-or-equal/11.8.3-3.js:
747         (obj1.toString):
748         (obj2.valueOf):
749         * test262/test/language/expressions/less-than-or-equal/11.8.3-4.js:
750         (obj1.toString):
751         (obj2.toString):
752         * test262/test/language/expressions/less-than-or-equal/11.8.3-5.js: Removed.
753         * test262/test/language/expressions/less-than-or-equal/bigint-and-bigint.js:
754         * test262/test/language/expressions/less-than-or-equal/bigint-and-incomparable-string.js:
755         * test262/test/language/expressions/less-than-or-equal/bigint-and-non-finite.js:
756         * test262/test/language/expressions/less-than-or-equal/bigint-and-number-extremes.js:
757         * test262/test/language/expressions/less-than-or-equal/bigint-and-number.js:
758         * test262/test/language/expressions/less-than-or-equal/bigint-and-string.js:
759         * test262/test/language/expressions/less-than/bigint-and-bigint.js:
760         * test262/test/language/expressions/less-than/bigint-and-boolean.js:
761         * test262/test/language/expressions/less-than/bigint-and-incomparable-string.js:
762         * test262/test/language/expressions/less-than/bigint-and-non-finite.js:
763         * test262/test/language/expressions/less-than/bigint-and-number-extremes.js:
764         * test262/test/language/expressions/less-than/bigint-and-number.js:
765         * test262/test/language/expressions/less-than/bigint-and-string.js:
766         * test262/test/language/expressions/less-than/bigint-and-symbol.js: Added.
767         * test262/test/language/expressions/modulus/bigint-and-number.js:
768         * test262/test/language/expressions/modulus/bigint-arithmetic.js:
769         (testMod): Deleted.
770         * test262/test/language/expressions/modulus/bigint-errors.js:
771         (Symbol.toPrimitive):
772         (0n.Symbol.toPrimitive):
773         (valueOf):
774         (0n.valueOf):
775         (toString):
776         (0n.toString):
777         * test262/test/language/expressions/modulus/bigint-modulo-zero.js:
778         * test262/test/language/expressions/modulus/bigint-toprimitive.js:
779         * test262/test/language/expressions/modulus/bigint-wrapped-values.js:
780         * test262/test/language/expressions/multiplication/bigint-and-number.js:
781         * test262/test/language/expressions/multiplication/bigint-arithmetic.js:
782         (testMul): Deleted.
783         * test262/test/language/expressions/multiplication/bigint-errors.js:
784         (Symbol.toPrimitive):
785         (0n.Symbol.toPrimitive):
786         (valueOf):
787         (0n.valueOf):
788         (toString):
789         (0n.toString):
790         * test262/test/language/expressions/multiplication/bigint-toprimitive.js:
791         * test262/test/language/expressions/multiplication/bigint-wrapped-values.js:
792         * test262/test/language/expressions/right-shift/bigint-and-number.js:
793         * test262/test/language/expressions/right-shift/bigint-errors.js:
794         (Symbol.toPrimitive):
795         (0n.Symbol.toPrimitive):
796         (valueOf):
797         (0n.valueOf):
798         (toString):
799         (0n.toString):
800         * test262/test/language/expressions/right-shift/bigint-non-primitive.js:
801         (assert.sameValue.Symbol.toPrimitive):
802         (assert.sameValue.valueOf):
803         (assert.sameValue.toString):
804         (assert.sameValue.0b101n.Symbol.toPrimitive):
805         (assert.sameValue.0b101n.valueOf):
806         (assert.sameValue.0b101n.toString):
807         (valueOf):
808         * test262/test/language/expressions/right-shift/bigint-toprimitive.js:
809         * test262/test/language/expressions/right-shift/bigint-wrapped-values.js:
810         * test262/test/language/expressions/strict-does-not-equals/bigint-and-bigint.js:
811         * test262/test/language/expressions/strict-does-not-equals/bigint-and-boolean.js:
812         * test262/test/language/expressions/strict-does-not-equals/bigint-and-incomparable-primitive.js:
813         * test262/test/language/expressions/strict-does-not-equals/bigint-and-non-finite.js:
814         * test262/test/language/expressions/strict-does-not-equals/bigint-and-number-extremes.js:
815         * test262/test/language/expressions/strict-does-not-equals/bigint-and-number.js:
816         * test262/test/language/expressions/strict-does-not-equals/bigint-and-object.js:
817         (assert.sameValue.0n.valueOf):
818         (assert.sameValue.valueOf):
819         (assert.sameValue.0n.toString):
820         (assert.sameValue.toString):
821         (assert.sameValue.900719925474099101n.valueOf):
822         (assert.sameValue.900719925474099101n.toString):
823         * test262/test/language/expressions/strict-does-not-equals/bigint-and-string.js:
824         * test262/test/language/expressions/strict-equals/bigint-and-bigint.js:
825         * test262/test/language/expressions/strict-equals/bigint-and-boolean.js:
826         * test262/test/language/expressions/strict-equals/bigint-and-incomparable-primitive.js:
827         * test262/test/language/expressions/strict-equals/bigint-and-non-finite.js:
828         * test262/test/language/expressions/strict-equals/bigint-and-number-extremes.js:
829         * test262/test/language/expressions/strict-equals/bigint-and-number.js:
830         * test262/test/language/expressions/strict-equals/bigint-and-object.js:
831         (assert.sameValue.0n.valueOf):
832         (assert.sameValue.valueOf):
833         (assert.sameValue.0n.toString):
834         (assert.sameValue.toString):
835         (assert.sameValue.900719925474099101n.valueOf):
836         (assert.sameValue.900719925474099101n.toString):
837         * test262/test/language/expressions/strict-equals/bigint-and-string.js:
838         * test262/test/language/expressions/subtraction/bigint-and-number.js:
839         * test262/test/language/expressions/subtraction/bigint-arithmetic.js:
840         (testSub): Deleted.
841         * test262/test/language/expressions/subtraction/bigint-errors.js:
842         (Symbol.toPrimitive):
843         (0n.Symbol.toPrimitive):
844         (valueOf):
845         (0n.valueOf):
846         (toString):
847         (0n.toString):
848         * test262/test/language/expressions/subtraction/bigint-toprimitive.js:
849         * test262/test/language/expressions/subtraction/bigint-wrapped-values.js:
850         * test262/test/language/expressions/unary-minus/bigint-non-primitive.js:
851         (assert.sameValue.Symbol.toPrimitive):
852         (assert.sameValue.valueOf):
853         (assert.sameValue.toString):
854         * test262/test/language/expressions/unary-plus/bigint-throws.js:
855         * test262/test/language/expressions/unsigned-right-shift/bigint-and-number.js:
856         * test262/test/language/expressions/unsigned-right-shift/bigint-errors.js:
857         (Symbol.toPrimitive):
858         (0n.Symbol.toPrimitive):
859         (valueOf):
860         (0n.valueOf):
861         (toString):
862         (0n.toString):
863         * test262/test/language/expressions/unsigned-right-shift/bigint-non-primitive.js:
864         (Symbol.toPrimitive):
865         (valueOf):
866         (toString):
867         (0b101n.Symbol.toPrimitive):
868         (0b101n.valueOf):
869         (0b101n.toString):
870         (valueOf.valueOf):
871         * test262/test/language/expressions/unsigned-right-shift/bigint-toprimitive.js:
872         * test262/test/language/expressions/unsigned-right-shift/bigint-wrapped-values.js:
873         * test262/test/language/literals/numeric/numeric-followed-by-ident.js: Added.
874         * test262/test/language/literals/string/line-continuation-double.js: Added.
875         * test262/test/language/literals/string/line-continuation-single.js: Added.
876         * test262/test262-Revision.txt:
877
878 2018-05-25  Mark Lam  <mark.lam@apple.com>
879
880         for-in loops should preserve and restore the TDZ stack for each of its internal loops.
881         https://bugs.webkit.org/show_bug.cgi?id=185995
882         <rdar://problem/40173142>
883
884         Reviewed by Saam Barati.
885
886         * stress/regress-185995.js: Added.
887
888 2018-05-23  Keith Miller  <keith_miller@apple.com>
889
890         Define length on CoW array should properly convert to writable
891         https://bugs.webkit.org/show_bug.cgi?id=185927
892
893         Reviewed by Yusuke Suzuki.
894
895         * stress/cow-define-length-as-value.js: Added.
896         (test):
897
898 2018-05-23  Michael Saboff  <msaboff@apple.com>
899
900         Date.parse() doesn't properly handle input outside of ES Spec limits
901         https://bugs.webkit.org/show_bug.cgi?id=185868
902
903         Reviewed by Mark Lam.
904
905         New test.
906
907         * stress/date-parse-ranges.js: Added.
908         (shouldBe):
909         (throw.new.Error):
910         (shouldBeNaN):
911
912 2018-05-23  Rick Waldron  <waldron.rick@gmail.com>
913
914         Conversion misspelled "Convertion" in error message string
915         https://bugs.webkit.org/show_bug.cgi?id=185436
916
917         Reviewed by Saam Barati, Michael Saboff.
918
919         * bigIntTests.yaml:
920
921 2018-05-23  Yusuke Suzuki  <utatane.tea@gmail.com>
922
923         Unreviewed, skip test if memoryLimited is specified
924         https://bugs.webkit.org/show_bug.cgi?id=185888
925
926         * stress/regress-185888.js:
927
928 2018-05-22  Mark Lam  <mark.lam@apple.com>
929
930         BytecodeGeneratorification shouldn't add a ValueProfile if the JIT is disabled.
931         https://bugs.webkit.org/show_bug.cgi?id=185896
932         <rdar://problem/40471403>
933
934         Reviewed by Saam Barati.
935
936         * stress/regress-185896.js: Added.
937
938 2018-05-22  Yusuke Suzuki  <utatane.tea@gmail.com>
939
940         [JSC] Fix CachedCall's argument count if RegExp has named captures
941         https://bugs.webkit.org/show_bug.cgi?id=185587
942
943         Reviewed by Mark Lam.
944
945         * test262/expectations.yaml:
946
947 2018-05-22  Mark Lam  <mark.lam@apple.com>
948
949         StringImpl utf8 conversion should not fail silently.
950         https://bugs.webkit.org/show_bug.cgi?id=185888
951         <rdar://problem/40464506>
952
953         Reviewed by Filip Pizlo.
954
955         * stress/regress-185888.js: Added.
956
957 2018-05-22  Keith Miller  <keith_miller@apple.com>
958
959         We should have a CoW storage for NewArrayBuffer arrays.
960         https://bugs.webkit.org/show_bug.cgi?id=185003
961
962         Reviewed by Filip Pizlo.
963
964         * stress/cow-convert-contiguous-to-array-storage.js: Added.
965         (createBuffer):
966         (shouldBe):
967         (test):
968         * stress/cow-convert-double-to-array-storage.js: Added.
969         (createBuffer):
970         (shouldBe):
971         (test):
972         * stress/cow-convert-double-to-contiguous.js: Added.
973         (createBuffer):
974         (shouldBe):
975         (test):
976         * stress/cow-convert-int32-to-array-storage.js: Added.
977         (createBuffer):
978         (shouldBe):
979         (test):
980         * stress/cow-convert-int32-to-contiguous.js: Added.
981         (createBuffer):
982         (shouldBe):
983         (test):
984         * stress/cow-convert-int32-to-double.js: Added.
985         (createBuffer):
986         (shouldBe):
987         (test):
988         * stress/put-on-cow-prototype.js: Added.
989         (putByVal):
990         (putById):
991
992 2018-05-21  Yusuke Suzuki  <utatane.tea@gmail.com>
993
994         Unreviewed, reland InById cache
995         https://bugs.webkit.org/show_bug.cgi?id=185682
996
997         * stress/in-by-id-accessors.js: Added.
998         (shouldBe):
999         (test):
1000         (protoGetter.__proto__.get hello):
1001         (protoSetter.__proto__.set hello):
1002         (i.shouldBe.test.get hello):
1003         (i.shouldBe.test.set hello):
1004         * stress/in-by-id-ai.js: Added.
1005         (shouldBe):
1006         (test):
1007         * stress/in-by-id-custom-accessors.js: Added.
1008         (shouldBe):
1009         (test1):
1010         (test2):
1011         * stress/in-by-id-custom-values.js: Added.
1012         (shouldBe):
1013         (test):
1014         * stress/in-by-id-operation.js: Added.
1015         (shouldBe):
1016         (test):
1017         (selfCache):
1018         * stress/in-by-id-proxy.js: Added.
1019         (shouldBe):
1020         (test):
1021         (handler.has):
1022
1023 2018-05-21  Commit Queue  <commit-queue@webkit.org>
1024
1025         Unreviewed, rolling out r231998 and r232017.
1026         https://bugs.webkit.org/show_bug.cgi?id=185842
1027
1028         causes crashes on 32 JSC bot (Requested by realdawei on
1029         #webkit).
1030
1031         Reverted changesets:
1032
1033         "[JSC] JSC should have consistent InById IC"
1034         https://bugs.webkit.org/show_bug.cgi?id=185682
1035         https://trac.webkit.org/changeset/231998
1036
1037         "Unreviewed, fix 32bit and scope release"
1038         https://bugs.webkit.org/show_bug.cgi?id=185682
1039         https://trac.webkit.org/changeset/232017
1040
1041 2018-05-19  Yusuke Suzuki  <utatane.tea@gmail.com>
1042
1043         [JSC] JSC should have consistent InById IC
1044         https://bugs.webkit.org/show_bug.cgi?id=185682
1045
1046         Reviewed by Filip Pizlo.
1047
1048         * stress/in-by-id-accessors.js: Added.
1049         (shouldBe):
1050         (test):
1051         (protoGetter.__proto__.get hello):
1052         (protoSetter.__proto__.set hello):
1053         (i.shouldBe.test.get hello):
1054         (i.shouldBe.test.set hello):
1055         * stress/in-by-id-ai.js: Added.
1056         (shouldBe):
1057         (test):
1058         * stress/in-by-id-custom-accessors.js: Added.
1059         (shouldBe):
1060         (test1):
1061         (test2):
1062         * stress/in-by-id-custom-values.js: Added.
1063         (shouldBe):
1064         (test):
1065         * stress/in-by-id-operation.js: Added.
1066         (shouldBe):
1067         (test):
1068         (selfCache):
1069         * stress/in-by-id-proxy.js: Added.
1070         (shouldBe):
1071         (test):
1072         (handler.has):
1073
1074 2018-05-18  Keith Miller  <keith_miller@apple.com>
1075
1076         op_in should mark if it sees out of bounds accesses
1077         https://bugs.webkit.org/show_bug.cgi?id=185792
1078
1079         Reviewed by Filip Pizlo.
1080
1081         * stress/has-indexed-property-array-storage-ftl.js:
1082         (test2):
1083         * stress/has-indexed-property-slow-put-array-storage-ftl.js:
1084         (test2):
1085
1086 2018-05-18  Mark Lam  <mark.lam@apple.com>
1087
1088         Add missing exception check.
1089         https://bugs.webkit.org/show_bug.cgi?id=185786
1090         <rdar://problem/35686560>
1091
1092         Reviewed by Michael Saboff.
1093
1094         * stress/regress-185786.js: Added.
1095
1096 2018-05-16  Filip Pizlo  <fpizlo@apple.com>
1097
1098         JSC should have InstanceOf inline caching
1099         https://bugs.webkit.org/show_bug.cgi?id=185652
1100
1101         Reviewed by Saam Barati.
1102
1103         * microbenchmarks/instanceof-always-hit-one.js: Added.
1104         * microbenchmarks/instanceof-always-hit-two.js: Added.
1105         * microbenchmarks/instanceof-dynamic.js: Added.
1106         * microbenchmarks/instanceof-sometimes-hit.js: Added.
1107         * stress/instanceof-dynamic-proxy-check-structure.js: Added.
1108         * stress/instanceof-dynamic-proxy-loop.js: Added.
1109         * stress/instanceof-dynamic-proxy.js: Added.
1110         * stress/instanceof-hit-one-object-then-another.js: Added.
1111         * stress/instanceof-hit-two-objects-then-another.js: Added.
1112         * stress/instanceof-prototype-change.js: Added.
1113         * stress/instanceof-prototype-change-to-hit.js: Added.
1114         * stress/instanceof-prototype-change-to-null.js: Added.
1115         * stress/instanceof-prototype-change-watchpointable.js: Added.
1116
1117 2018-05-17  Michael Saboff  <msaboff@apple.com>
1118
1119         We don't throw SyntaxErrors for runtime generated regular expressions with errors
1120         https://bugs.webkit.org/show_bug.cgi?id=185755
1121
1122         Reviewed by Keith Miller.
1123
1124         New regression test.
1125
1126         * stress/regexp-with-runtime-syntax-errors.js: Added.
1127         (testThrowsSyntaxtError):
1128         (fromExecWithBadUnicodeEscape):
1129         (fromTestWithBadUnicodeProperty):
1130         (fromSplitWithBadUnicodeIdentity):
1131         (fromMatchWithBadUnicodeBackReference):
1132         (fromReplaceWithBadUnicodeEscape):
1133         (fromSearchWithBadUnicodeEscape):
1134
1135 2018-05-16  Caio Lima  <ticaiolima@gmail.com>
1136
1137         [ESNext][BigInt] Implement support for "/" operation
1138         https://bugs.webkit.org/show_bug.cgi?id=183996
1139
1140         Reviewed by Yusuke Suzuki.
1141
1142         * bigIntTests.yaml:
1143         * stress/big-int-div-jit.js: Added.
1144         * stress/big-int-div-memory-stress.js: Added.
1145         * stress/big-int-div-to-primitive-precedence.js: Added.
1146         * stress/big-int-div-to-primitive.js: Added.
1147         * stress/big-int-div-type-error.js: Added.
1148         * stress/big-int-div-wrapped-value.js: Added.
1149         * stress/big-int-division.js: Added.
1150
1151 2018-05-16  Saam Barati  <sbarati@apple.com>
1152
1153         Constant fold CheckTypeInfoFlags on ImplementsDefaultHasInstance
1154         https://bugs.webkit.org/show_bug.cgi?id=185670
1155
1156         Reviewed by Yusuke Suzuki.
1157
1158         * microbenchmarks/constant-fold-check-type-info-flags.js: Added.
1159         * stress/dont-constant-fold-check-type-info-on-bound-function.js: Added.
1160
1161 2018-05-16  Commit Queue  <commit-queue@webkit.org>
1162
1163         Unreviewed, rolling out r231845.
1164         https://bugs.webkit.org/show_bug.cgi?id=185702
1165
1166         it is breaking Apple High Sierra 32-bit JSC bot (Requested by
1167         caiolima on #webkit).
1168
1169         Reverted changeset:
1170
1171         "[ESNext][BigInt] Implement support for "/" operation"
1172         https://bugs.webkit.org/show_bug.cgi?id=183996
1173         https://trac.webkit.org/changeset/231845
1174
1175 2018-05-16  Filip Pizlo  <fpizlo@apple.com>
1176
1177         DFG models InstanceOf incorrectly
1178         https://bugs.webkit.org/show_bug.cgi?id=185694
1179
1180         Reviewed by Keith Miller.
1181
1182         * stress/instanceof-proxy-check-structure.js: Added.
1183         (Foo):
1184         (Bar):
1185         (doBadThings):
1186         (getPrototypeOf):
1187         (foo):
1188         (i.new.Bar):
1189         (new.Bar):
1190         * stress/instanceof-proxy-loop.js: Added.
1191         (Foo):
1192         (Bar):
1193         (doBadThings):
1194         (getPrototypeOf):
1195         (foo):
1196         * stress/instanceof-proxy.js: Added.
1197         (Foo):
1198         (Bar):
1199         (doBadThings):
1200         (getPrototypeOf):
1201         (foo):
1202
1203 2018-05-16  Caio Lima  <ticaiolima@gmail.com>
1204
1205         [ESNext][BigInt] Implement support for "/" operation
1206         https://bugs.webkit.org/show_bug.cgi?id=183996
1207
1208         Reviewed by Yusuke Suzuki.
1209
1210         * bigIntTests.yaml:
1211         * stress/big-int-div-jit.js: Added.
1212         * stress/big-int-div-memory-stress.js: Added.
1213         * stress/big-int-div-to-primitive-precedence.js: Added.
1214         * stress/big-int-div-to-primitive.js: Added.
1215         * stress/big-int-div-type-error.js: Added.
1216         * stress/big-int-div-wrapped-value.js: Added.
1217         * stress/big-int-division.js: Added.
1218
1219 2018-05-14  Leo Balter  <leonardo.balter@gmail.com>
1220
1221         Fix a legacy CRLF eol from Test262
1222         https://bugs.webkit.org/show_bug.cgi?id=185565
1223
1224         Reviewed by Yusuke Suzuki.
1225
1226         * test262/config.yaml:
1227         * test262/test/built-ins/Math/cbrt/prop-desc.js:
1228
1229 2018-05-14  Yusuke Suzuki  <utatane.tea@gmail.com>
1230
1231         [JSC] timeClip(-0) should produce +0
1232         https://bugs.webkit.org/show_bug.cgi?id=185589
1233
1234         Reviewed by Saam Barati.
1235
1236         Fix several test262 failures.
1237
1238         * stress/date-negative-zero.js: Added.
1239         (shouldBe):
1240         * test262/expectations.yaml:
1241
1242 2018-05-13  Caio Lima  <ticaiolima@gmail.com>
1243
1244         [BigInt] stress/big-int-spec-to-primitive.js test is failing
1245         https://bugs.webkit.org/show_bug.cgi?id=185582
1246
1247         Reviewed by Yusuke Suzuki.
1248
1249         This patch is removing the use of ```numberOfDFGCompiles``` from 
1250         stress/big-int-spec-to-primitive.js because it makes this est fail
1251         sometimes.
1252
1253         * stress/big-int-spec-to-primitive.js:
1254
1255 2018-05-13  Andy VanWagoner  <andy@vanwagoner.family>
1256
1257         [INTL] Improve spec & test262 compliance for Intl APIs
1258         https://bugs.webkit.org/show_bug.cgi?id=185578
1259
1260         Reviewed by Yusuke Suzuki.
1261
1262         Remove intl402 failures that have been fixed.
1263
1264         * test262/expectations.yaml:
1265         * stress/regress-178385.js: toStringTag is configurable, but not writable.
1266
1267 2018-05-11  Caio Lima  <ticaiolima@gmail.com>
1268
1269         [ESNext][BigInt] Implement support for "*" operation
1270         https://bugs.webkit.org/show_bug.cgi?id=183721
1271
1272         Reviewed by Yusuke Suzuki.
1273
1274         * bigIntTests.yaml:
1275         * stress/big-int-mul-jit.js: Added.
1276         * stress/big-int-mul-to-primitive-precedence.js: Added.
1277         * stress/big-int-mul-to-primitive.js: Added.
1278         * stress/big-int-mul-type-error.js: Added.
1279         * stress/big-int-mul-wrapped-value.js: Added.
1280         * stress/big-int-multiplication.js: Added.
1281         * stress/big-int-multiply-memory-stress.js: Added.
1282
1283 2018-05-11  Michael Saboff  <msaboff@apple.com>
1284
1285         [DFG] Compiler uses incorrect output register for NumberIsInteger operation
1286         https://bugs.webkit.org/show_bug.cgi?id=185328
1287
1288         Reviewed by Keith Miller.
1289
1290         New regression test.
1291
1292         * stress/isInteger-doesnt-overwrite-argument.js: Added.
1293         (testIsInteger):
1294
1295 2018-05-09  Yusuke Suzuki  <utatane.tea@gmail.com>
1296
1297         [JSC] Object.assign for final objects should be faster
1298         https://bugs.webkit.org/show_bug.cgi?id=185348
1299
1300         Reviewed by Saam Barati.
1301
1302         * stress/object-assign-fast-path.js: Added.
1303         (shouldBe):
1304         (checkProperty):
1305
1306 2018-05-10  Leo Balter  <leonardo.balter@gmail.com>
1307
1308         Update Test262 tests through the new import script - 20180509
1309         https://bugs.webkit.org/show_bug.cgi?id=185482
1310
1311         Reviewed by Michael Saboff.
1312
1313         Also update the test262/expecatations.yaml with the recent imported files.
1314
1315         * test262/expectations.yaml:
1316         * test262/harness/compareIterator.js: Added.
1317         (assert.compareIterator):
1318         * test262/harness/nativeFunctionMatcher.js:
1319         (const.assertToStringOrNativeFunction):
1320         (const.assertNativeFunction):
1321         * test262/harness/regExpUtils.js:
1322         * test262/harness/testIntl.js:
1323         (getInvalidLanguageTags):
1324         * test262/harness/testTypedArray.js:
1325         * test262/harness/wellKnownIntrinsicObjects.js: Added.
1326         (WellKnownIntrinsicObjects.forEach.wkio.catch):
1327         * test262/latest-changes-summary.txt: Added.
1328         * test262/test/annexB/language/eval-code/direct/block-decl-nostrict.js: Copied from JSTests/test262/test/language/eval-code/direct/block-decl-strict-caller.js.
1329         (catch):
1330         * test262/test/annexB/language/eval-code/direct/switch-case-decl-nostrict.js: Copied from JSTests/test262/test/language/eval-code/direct/switch-case-decl-strict-source.js.
1331         (catch):
1332         * test262/test/annexB/language/eval-code/direct/switch-dflt-decl-nostrict.js: Copied from JSTests/test262/test/language/eval-code/direct/switch-dflt-decl-strict-caller.js.
1333         (catch):
1334         * test262/test/annexB/language/function-code/block-decl-nested-blocks-with-fun-decl.js: Added.
1335         (g.f):
1336         (g):
1337         * test262/test/annexB/language/function-code/block-decl-nostrict.js: Copied from JSTests/test262/test/language/function-code/block-decl-strict.js.
1338         (catch):
1339         (f):
1340         * test262/test/annexB/language/function-code/switch-case-decl-nostrict.js: Copied from JSTests/test262/test/language/function-code/switch-case-decl-strict.js.
1341         (catch):
1342         (switch.case.1):
1343         (switch):
1344         * test262/test/annexB/language/function-code/switch-dflt-decl-nostrict.js: Copied from JSTests/test262/test/language/function-code/switch-dflt-decl-strict.js.
1345         (catch):
1346         (switch.default):
1347         (switch):
1348         * test262/test/built-ins/Array/prototype/filter/target-array-with-non-writable-property.js: Added.
1349         (a.Symbol.species):
1350         (r.a.filter):
1351         * test262/test/built-ins/Array/prototype/indexOf/calls-only-has-on-prototype-after-length-zeroed.js: Added.
1352         (allowProxyTraps.has):
1353         (fromIndex.valueOf):
1354         * test262/test/built-ins/Array/prototype/lastIndexOf/calls-only-has-on-prototype-after-length-zeroed.js: Added.
1355         (allowProxyTraps.has):
1356         (fromIndex.valueOf):
1357         * test262/test/built-ins/Array/prototype/map/target-array-with-non-writable-property.js: Added.
1358         (a.Symbol.species):
1359         (r.a.map):
1360         * test262/test/built-ins/Array/prototype/slice/target-array-with-non-writable-property.js: Added.
1361         (a.Symbol.species):
1362         * test262/test/built-ins/Array/prototype/splice/property-traps-order-with-species.js: Added.
1363         (a.Symbol.species):
1364         * test262/test/built-ins/Array/prototype/splice/target-array-with-non-writable-property.js: Added.
1365         (a.Symbol.species):
1366         * test262/test/built-ins/Atomics/Symbol.toStringTag.js:
1367         * test262/test/built-ins/Atomics/add/bad-range.js:
1368         (testWithTypedArrayConstructors):
1369         * test262/test/built-ins/Atomics/add/good-views.js:
1370         (testWithTypedArrayConstructors):
1371         * test262/test/built-ins/Atomics/add/non-views.js:
1372         * test262/test/built-ins/Atomics/add/nonshared-int-views.js:
1373         (testWithTypedArrayConstructors):
1374         * test262/test/built-ins/Atomics/add/shared-nonint-views.js:
1375         (testWithTypedArrayConstructors):
1376         * test262/test/built-ins/Atomics/and/bad-range.js:
1377         (testWithTypedArrayConstructors):
1378         * test262/test/built-ins/Atomics/and/good-views.js:
1379         (testWithTypedArrayConstructors):
1380         * test262/test/built-ins/Atomics/and/non-views.js:
1381         * test262/test/built-ins/Atomics/and/nonshared-int-views.js:
1382         (testWithTypedArrayConstructors):
1383         * test262/test/built-ins/Atomics/and/shared-nonint-views.js:
1384         (testWithTypedArrayConstructors):
1385         * test262/test/built-ins/Atomics/compareExchange/bad-range.js:
1386         (testWithTypedArrayConstructors):
1387         * test262/test/built-ins/Atomics/compareExchange/good-views.js:
1388         (testWithTypedArrayConstructors):
1389         (view): Deleted.
1390         * test262/test/built-ins/Atomics/compareExchange/non-views.js:
1391         * test262/test/built-ins/Atomics/compareExchange/nonshared-int-views.js:
1392         (testWithTypedArrayConstructors):
1393         * test262/test/built-ins/Atomics/compareExchange/shared-nonint-views.js:
1394         (testWithTypedArrayConstructors):
1395         * test262/test/built-ins/Atomics/exchange/bad-range.js:
1396         (testWithTypedArrayConstructors):
1397         * test262/test/built-ins/Atomics/exchange/good-views.js:
1398         (testWithTypedArrayConstructors):
1399         * test262/test/built-ins/Atomics/exchange/non-views.js:
1400         * test262/test/built-ins/Atomics/exchange/nonshared-int-views.js:
1401         (testWithTypedArrayConstructors):
1402         * test262/test/built-ins/Atomics/exchange/shared-nonint-views.js:
1403         (testWithTypedArrayConstructors):
1404         * test262/test/built-ins/Atomics/isLockFree/corner-cases.js:
1405         (hide):
1406         * test262/test/built-ins/Atomics/isLockFree/value.js:
1407         (testIsLockFree): Deleted.
1408         * test262/test/built-ins/Atomics/load/bad-range.js:
1409         (testWithTypedArrayConstructors):
1410         * test262/test/built-ins/Atomics/load/good-views.js:
1411         (testWithTypedArrayConstructors):
1412         * test262/test/built-ins/Atomics/load/non-views.js:
1413         * test262/test/built-ins/Atomics/load/nonshared-int-views.js:
1414         (testWithTypedArrayConstructors):
1415         * test262/test/built-ins/Atomics/load/shared-nonint-views.js:
1416         (testWithTypedArrayConstructors):
1417         * test262/test/built-ins/Atomics/or/bad-range.js:
1418         (testWithTypedArrayConstructors):
1419         * test262/test/built-ins/Atomics/or/good-views.js:
1420         (testWithTypedArrayConstructors):
1421         * test262/test/built-ins/Atomics/or/non-views.js:
1422         * test262/test/built-ins/Atomics/or/nonshared-int-views.js:
1423         (testWithTypedArrayConstructors):
1424         * test262/test/built-ins/Atomics/or/shared-nonint-views.js:
1425         (testWithTypedArrayConstructors):
1426         * test262/test/built-ins/Atomics/prop-desc.js:
1427         * test262/test/built-ins/Atomics/proto.js:
1428         * test262/test/built-ins/Atomics/store/bad-range.js:
1429         (testWithTypedArrayConstructors):
1430         * test262/test/built-ins/Atomics/store/good-views.js:
1431         (testWithTypedArrayConstructors):
1432         (ToInteger):
1433         * test262/test/built-ins/Atomics/store/non-views.js:
1434         * test262/test/built-ins/Atomics/store/nonshared-int-views.js:
1435         (testWithTypedArrayConstructors):
1436         * test262/test/built-ins/Atomics/store/shared-nonint-views.js:
1437         (testWithTypedArrayConstructors):
1438         * test262/test/built-ins/Atomics/sub/bad-range.js:
1439         (testWithTypedArrayConstructors):
1440         * test262/test/built-ins/Atomics/sub/good-views.js:
1441         (testWithTypedArrayConstructors):
1442         * test262/test/built-ins/Atomics/sub/non-views.js:
1443         * test262/test/built-ins/Atomics/sub/nonshared-int-views.js:
1444         (testWithTypedArrayConstructors):
1445         * test262/test/built-ins/Atomics/sub/shared-nonint-views.js:
1446         (testWithTypedArrayConstructors):
1447         * test262/test/built-ins/Atomics/wait/bad-range.js: Copied from JSTests/test262/test/built-ins/Atomics/wake/bad-range.js.
1448         (testWithTypedArrayConstructors):
1449         * test262/test/built-ins/Atomics/wait/cannot-suspend-throws.js:
1450         * test262/test/built-ins/Atomics/wait/did-timeout.js:
1451         (getReport):
1452         * test262/test/built-ins/Atomics/wait/false-for-timeout-agent.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/false-for-timeout.js.
1453         (getReport):
1454         (262.agent.start.valueOf.valueOf):
1455         (toPrimitive.Symbol.toPrimitive):
1456         (262.agent.receiveBroadcast):
1457         * test262/test/built-ins/Atomics/wait/false-for-timeout.js:
1458         (valueOf.valueOf):
1459         (toPrimitive.Symbol.toPrimitive):
1460         (getReport): Deleted.
1461         (262.agent.start.262.agent.receiveBroadcast): Deleted.
1462         * test262/test/built-ins/Atomics/wait/good-views.js:
1463         (r.getReport):
1464         (getReport):
1465         * test262/test/built-ins/Atomics/wait/nan-for-timeout.js:
1466         (getReport):
1467         * test262/test/built-ins/Atomics/wait/negative-index-throws.js:
1468         * test262/test/built-ins/Atomics/wait/negative-timeout-agent.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/negative-timeout.js.
1469         (getReport):
1470         (262.agent.start.262.agent.receiveBroadcast):
1471         * test262/test/built-ins/Atomics/wait/negative-timeout.js:
1472         (262.agent.start.262.agent.receiveBroadcast): Deleted.
1473         (getReport): Deleted.
1474         * test262/test/built-ins/Atomics/wait/no-spurious-wakeup.js:
1475         (getReport):
1476         * test262/test/built-ins/Atomics/wait/non-int32-typedarray-throws.js:
1477         * test262/test/built-ins/Atomics/wait/non-shared-bufferdata-throws.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/nonshared-bufferdata-throws.js.
1478         * test262/test/built-ins/Atomics/wait/not-a-typedarray-throws.js:
1479         * test262/test/built-ins/Atomics/wait/not-an-object-throws.js:
1480         * test262/test/built-ins/Atomics/wait/null-bufferdata-throws.js:
1481         * test262/test/built-ins/Atomics/wait/null-for-timeout-agent.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/false-for-timeout.js.
1482         (getReport):
1483         (262.agent.start.valueOf.valueOf):
1484         (toPrimitive.Symbol.toPrimitive):
1485         (262.agent.receiveBroadcast):
1486         * test262/test/built-ins/Atomics/wait/null-for-timeout.js:
1487         (valueOf.valueOf):
1488         (toPrimitive.Symbol.toPrimitive):
1489         (getReport): Deleted.
1490         (262.agent.start.262.agent.receiveBroadcast): Deleted.
1491         * test262/test/built-ins/Atomics/wait/object-for-timeout-agent.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/false-for-timeout.js.
1492         (getReport):
1493         (262.agent.start.valueOf.valueOf):
1494         (toString.toString):
1495         (toPrimitive.Symbol.toPrimitive):
1496         (262.agent.receiveBroadcast):
1497         * test262/test/built-ins/Atomics/wait/object-for-timeout.js:
1498         (valueOf.valueOf):
1499         (toString.toString):
1500         (toPrimitive.Symbol.toPrimitive):
1501         (getReport): Deleted.
1502         (262.agent.start.262.agent.receiveBroadcast): Deleted.
1503         * test262/test/built-ins/Atomics/wait/out-of-range-index-throws.js:
1504         * test262/test/built-ins/Atomics/wait/poisoned-object-for-timeout-throws-agent.js: Added.
1505         (getReport):
1506         (262.agent.start.poisonedValueOf.valueOf):
1507         (poisonedToPrimitive.Symbol.toPrimitive):
1508         (262.agent.receiveBroadcast):
1509         * test262/test/built-ins/Atomics/wait/poisoned-object-for-timeout-throws.js:
1510         (poisonedValueOf.valueOf):
1511         (poisonedToPrimitive.Symbol.toPrimitive):
1512         (getReport): Deleted.
1513         (262.agent.start.262.agent.receiveBroadcast): Deleted.
1514         * test262/test/built-ins/Atomics/wait/symbol-for-index-throws-agent.js: Added.
1515         (getReport):
1516         (262.agent.start.poisonedValueOf.valueOf):
1517         (poisonedToPrimitive.Symbol.toPrimitive):
1518         (262.agent.receiveBroadcast):
1519         * test262/test/built-ins/Atomics/wait/symbol-for-index-throws.js:
1520         (poisonedToPrimitive.Symbol.toPrimitive):
1521         (poisoned.valueOf): Deleted.
1522         (poisonedWithString.get valueOf): Deleted.
1523         (poisonedToPrimitive.get Symbol): Deleted.
1524         * test262/test/built-ins/Atomics/wait/symbol-for-timeout-throws-agent.js: Added.
1525         (getReport):
1526         (262.agent.start.262.agent.receiveBroadcast):
1527         * test262/test/built-ins/Atomics/wait/symbol-for-timeout-throws.js:
1528         (poisonedValueOf.valueOf):
1529         (poisonedToPrimitive.Symbol.toPrimitive):
1530         (getReport): Deleted.
1531         (262.agent.start.262.agent.receiveBroadcast): Deleted.
1532         * test262/test/built-ins/Atomics/wait/symbol-for-value-throws-agent.js: Added.
1533         (getReport):
1534         (262.agent.start.poisonedValueOf.valueOf):
1535         (poisonedToPrimitive.Symbol.toPrimitive):
1536         (262.agent.receiveBroadcast):
1537         * test262/test/built-ins/Atomics/wait/symbol-for-value-throws.js: Added.
1538         (poisonedValueOf.valueOf):
1539         (poisonedToPrimitive.Symbol.toPrimitive):
1540         * test262/test/built-ins/Atomics/wait/true-for-timeout-agent.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/null-for-timeout.js.
1541         (getReport):
1542         (262.agent.start.valueOf.valueOf):
1543         (toPrimitive.Symbol.toPrimitive):
1544         (262.agent.receiveBroadcast):
1545         * test262/test/built-ins/Atomics/wait/true-for-timeout.js:
1546         (valueOf.valueOf):
1547         (toPrimitive.Symbol.toPrimitive):
1548         (getReport): Deleted.
1549         (262.agent.start.262.agent.receiveBroadcast): Deleted.
1550         * test262/test/built-ins/Atomics/wait/undefined-for-timeout.js:
1551         (getReport):
1552         * test262/test/built-ins/Atomics/wait/undefined-index-defaults-to-zero.js:
1553         (262.agent.start.262.agent.receiveBroadcast):
1554         (getReport):
1555         * test262/test/built-ins/Atomics/wait/value-not-equal.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/wait-index-value-not-equal.js.
1556         (getReport):
1557         (262.agent.start.262.agent.receiveBroadcast):
1558         * test262/test/built-ins/Atomics/wait/wait-index-value-not-equal.js:
1559         (262.agent.start.262.agent.receiveBroadcast):
1560         * test262/test/built-ins/Atomics/wait/waiterlist-block-indexedposition-wake.js: Added.
1561         (getReport):
1562         (262.agent.start.262.agent.receiveBroadcast):
1563         * test262/test/built-ins/Atomics/wait/waiterlist-order-of-operations-is-fifo.js: Added.
1564         (getReport):
1565         (262.agent.start.262.agent.receiveBroadcast):
1566         * test262/test/built-ins/Atomics/wait/was-woken-before-timeout.js:
1567         (getReport):
1568         (262.agent.start.262.agent.receiveBroadcast):
1569         * test262/test/built-ins/Atomics/wait/was-woken.js:
1570         (getReport):
1571         (262.agent.start.262.agent.receiveBroadcast):
1572         * test262/test/built-ins/Atomics/wake/bad-range.js:
1573         (testWithTypedArrayConstructors):
1574         * test262/test/built-ins/Atomics/wake/count-boundary-cases.js: Renamed from JSTests/test262/test/built-ins/Atomics/wake/counts.js.
1575         * test262/test/built-ins/Atomics/wake/count-defaults-to-infinity-missing.js: Added.
1576         (getReport):
1577         (262.agent.start.262.agent.receiveBroadcast):
1578         * test262/test/built-ins/Atomics/wake/count-defaults-to-infinity-undefined.js: Added.
1579         (getReport):
1580         (262.agent.start.262.agent.receiveBroadcast):
1581         * test262/test/built-ins/Atomics/wake/count-from-nans.js: Added.
1582         * test262/test/built-ins/Atomics/wake/count-symbol-throws.js: Added.
1583         * test262/test/built-ins/Atomics/wake/count-tointeger-throws-then-wake-throws.js: Added.
1584         (poisoned.valueOf):
1585         * test262/test/built-ins/Atomics/wake/good-views.js:
1586         * test262/test/built-ins/Atomics/wake/negative-count.js: Renamed from JSTests/test262/test/built-ins/Atomics/wake/wake-negative.js.
1587         * test262/test/built-ins/Atomics/wake/negative-index-throws.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/negative-index-throws.js.
1588         (poisoned.valueOf):
1589         * test262/test/built-ins/Atomics/wake/non-int32-typedarray-throws.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/non-int32-typedarray-throws.js.
1590         (poisoned.valueOf):
1591         * test262/test/built-ins/Atomics/wake/non-shared-bufferdata-throws.js: Renamed from JSTests/test262/test/built-ins/Atomics/wait/nonshared-bufferdata-throws.js.
1592         (poisoned.valueOf):
1593         * test262/test/built-ins/Atomics/wake/non-views.js:
1594         * test262/test/built-ins/Atomics/wake/nonshared-int-views.js:
1595         (testWithTypedArrayConstructors):
1596         * test262/test/built-ins/Atomics/wake/not-a-typedarray-throws.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/not-a-typedarray-throws.js.
1597         (poisoned.valueOf):
1598         * test262/test/built-ins/Atomics/wake/not-an-object-throws.js: Added.
1599         (poisoned.valueOf):
1600         * test262/test/built-ins/Atomics/wake/null-bufferdata-throws.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/null-bufferdata-throws.js.
1601         (poisoned.valueOf):
1602         * test262/test/built-ins/Atomics/wake/out-of-range-index-throws.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/out-of-range-index-throws.js.
1603         (poisoned.valueOf):
1604         * test262/test/built-ins/Atomics/wake/shared-nonint-views.js:
1605         (testWithTypedArrayConstructors):
1606         * test262/test/built-ins/Atomics/wake/symbol-for-index-throws.js: Added.
1607         (poisonedValueOf.valueOf):
1608         (poisonedToPrimitive.Symbol.toPrimitive):
1609         * test262/test/built-ins/Atomics/wake/undefined-index-defaults-to-zero.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/undefined-index-defaults-to-zero.js.
1610         (262.agent.start.262.agent.receiveBroadcast):
1611         (getReport):
1612         * test262/test/built-ins/Atomics/wake/wake-all-on-loc.js:
1613         (262.agent.start.262.agent.receiveBroadcast):
1614         (getReport):
1615         (waitUntil):
1616         * test262/test/built-ins/Atomics/wake/wake-all.js:
1617         (262.agent.start.262.agent.receiveBroadcast):
1618         (getReport):
1619         (waitUntil):
1620         * test262/test/built-ins/Atomics/wake/wake-in-order.js:
1621         (getReport):
1622         (waitUntil):
1623         * test262/test/built-ins/Atomics/wake/wake-nan.js:
1624         (getReport):
1625         * test262/test/built-ins/Atomics/wake/wake-one.js:
1626         (getReport):
1627         (waitUntil):
1628         * test262/test/built-ins/Atomics/wake/wake-rewake-noop.js: Added.
1629         (getReport):
1630         (waitUntil):
1631         (262.agent.start.262.agent.receiveBroadcast):
1632         * test262/test/built-ins/Atomics/wake/wake-two.js:
1633         (getReport):
1634         * test262/test/built-ins/Atomics/wake/wake-with-no-agents-waiting.js: Added.
1635         (262.agent.start.262.agent.receiveBroadcast):
1636         (waitUntil):
1637         * test262/test/built-ins/Atomics/wake/wake-with-no-matching-agents-waiting.js: Added.
1638         (262.agent.start.262.agent.receiveBroadcast):
1639         (waitUntil):
1640         * test262/test/built-ins/Atomics/wake/wake-zero.js:
1641         (i.262.agent.start.262.agent.receiveBroadcast):
1642         (getReport):
1643         (waitUntil):
1644         * test262/test/built-ins/Atomics/xor/bad-range.js:
1645         (testWithTypedArrayConstructors):
1646         * test262/test/built-ins/Atomics/xor/good-views.js:
1647         (testWithTypedArrayConstructors):
1648         * test262/test/built-ins/Atomics/xor/non-views.js:
1649         * test262/test/built-ins/Atomics/xor/nonshared-int-views.js:
1650         (testWithTypedArrayConstructors):
1651         * test262/test/built-ins/Atomics/xor/shared-nonint-views.js:
1652         (testWithTypedArrayConstructors):
1653         * test262/test/built-ins/BigInt/asIntN/bigint-tobigint-errors.js:
1654         * test262/test/built-ins/BigInt/asIntN/bigint-tobigint-toprimitive.js:
1655         * test262/test/built-ins/BigInt/asIntN/bigint-tobigint-wrapped-values.js:
1656         * test262/test/built-ins/BigInt/asIntN/bits-toindex-errors.js:
1657         * test262/test/built-ins/BigInt/asIntN/bits-toindex-toprimitive.js:
1658         * test262/test/built-ins/BigInt/asIntN/bits-toindex-wrapped-values.js:
1659         * test262/test/built-ins/BigInt/asUintN/bigint-tobigint-errors.js:
1660         * test262/test/built-ins/BigInt/asUintN/bigint-tobigint-toprimitive.js:
1661         * test262/test/built-ins/BigInt/asUintN/bigint-tobigint-wrapped-values.js:
1662         * test262/test/built-ins/BigInt/asUintN/bits-toindex-errors.js:
1663         * test262/test/built-ins/BigInt/asUintN/bits-toindex-toprimitive.js:
1664         * test262/test/built-ins/BigInt/asUintN/bits-toindex-wrapped-values.js:
1665         * test262/test/built-ins/BigInt/constructor-empty-string.js:
1666         * test262/test/built-ins/BigInt/constructor-from-binary-string.js:
1667         * test262/test/built-ins/BigInt/constructor-from-decimal-string.js:
1668         * test262/test/built-ins/BigInt/constructor-from-hex-string.js:
1669         * test262/test/built-ins/BigInt/constructor-from-octal-string.js:
1670         * test262/test/built-ins/BigInt/constructor-from-string-syntax-errors.js:
1671         * test262/test/built-ins/BigInt/constructor-integer.js: Added.
1672         * test262/test/built-ins/BigInt/constructor-trailing-leading-spaces.js:
1673         * test262/test/built-ins/BigInt/issafeinteger-true.js: Removed.
1674         * test262/test/built-ins/BigInt/out-of-bounds-integer-rangeerror.js: Removed.
1675         * test262/test/built-ins/BigInt/prototype/Symbol.toStringTag.js:
1676         * test262/test/built-ins/BigInt/prototype/toString/default-radix.js: Added.
1677         * test262/test/built-ins/BigInt/prototype/toString/thisbigintvalue-not-valid-throws.js:
1678         * test262/test/built-ins/BigInt/prototype/valueOf/cross-realm.js: Added.
1679         * test262/test/built-ins/BigInt/tostring-throws.js: Copied from JSTests/test262/test/built-ins/BigInt/value-of-throws.js.
1680         * test262/test/built-ins/BigInt/valueof-throws.js: Renamed from JSTests/test262/test/built-ins/BigInt/value-of-throws.js.
1681         (BigInt.valueOf):
1682         * test262/test/built-ins/DataView/prototype/setBigInt64/set-values-return-undefined.js:
1683         (values.forEach):
1684         * test262/test/built-ins/Function/prototype/bind/length-exceeds-int32.js: Added.
1685         (f):
1686         * test262/test/built-ins/Function/prototype/toString/anonymous-intrinsics.js: Removed.
1687         * test262/test/built-ins/Function/prototype/toString/bound-function.js:
1688         (assertNativeFunction):
1689         (let.f): Deleted.
1690         * test262/test/built-ins/Function/prototype/toString/built-in-function-object.js: Added.
1691         * test262/test/built-ins/Function/prototype/toString/intrinsics.js: Removed.
1692         * test262/test/built-ins/Function/prototype/toString/proxy-arrow-function.js: Added.
1693         (assertNativeFunction.new.Proxy):
1694         * test262/test/built-ins/Function/prototype/toString/proxy-async-function.js: Added.
1695         (assertNativeFunction.new.Proxy.async):
1696         * test262/test/built-ins/Function/prototype/toString/proxy-async-generator-function.js: Added.
1697         (assertNativeFunction.new.Proxy.async):
1698         * test262/test/built-ins/Function/prototype/toString/proxy-async-generator-method-definition.js: Added.
1699         (assertNativeFunction.new.Proxy.async.method):
1700         (apply):
1701         * test262/test/built-ins/Function/prototype/toString/proxy-async-method-definition.js: Added.
1702         (assertNativeFunction.new.Proxy.async.method):
1703         (apply):
1704         * test262/test/built-ins/Function/prototype/toString/proxy-bound-function.js: Added.
1705         (assertNativeFunction.new.Proxy):
1706         (bind):
1707         * test262/test/built-ins/Function/prototype/toString/proxy-class.js: Added.
1708         (assertNativeFunction):
1709         * test262/test/built-ins/Function/prototype/toString/proxy-function-expression.js: Added.
1710         (assertNativeFunction.new.Proxy):
1711         * test262/test/built-ins/Function/prototype/toString/proxy-generator-function.js: Added.
1712         (assertNativeFunction.new.Proxy):
1713         * test262/test/built-ins/Function/prototype/toString/proxy-method-definition.js: Added.
1714         (assertNativeFunction.new.Proxy.method):
1715         (apply):
1716         * test262/test/built-ins/Function/prototype/toString/proxy-non-callable-throws.js: Added.
1717         * test262/test/built-ins/Function/prototype/toString/proxy.js: Removed.
1718         * test262/test/built-ins/Function/prototype/toString/well-known-intrinsic-object-functions.js: Added.
1719         (WellKnownIntrinsicObjects.forEach):
1720         * test262/test/built-ins/JSON/prop-desc.js: Added.
1721         * test262/test/built-ins/Math/acosh/nan-returns.js:
1722         * test262/test/built-ins/Math/asinh/asinh-specialVals.js:
1723         * test262/test/built-ins/Math/atanh/atanh-specialVals.js:
1724         * test262/test/built-ins/Math/cbrt/cbrt-specialValues.js:
1725         * test262/test/built-ins/Math/cbrt/prop-desc.js:
1726         * test262/test/built-ins/Math/cosh/cosh-specialVals.js:
1727         * test262/test/built-ins/Math/expm1/expm1-specialVals.js:
1728         * test262/test/built-ins/Math/log10/Log10-specialVals.js:
1729         * test262/test/built-ins/Math/log2/log2-basicTests.js:
1730         * test262/test/built-ins/Math/prop-desc.js:
1731         * test262/test/built-ins/Math/sign/sign-specialVals.js:
1732         * test262/test/built-ins/Math/sinh/sinh-specialVals.js:
1733         * test262/test/built-ins/Math/tanh/tanh-specialVals.js:
1734         * test262/test/built-ins/Math/trunc/trunc-sampleTests.js:
1735         * test262/test/built-ins/Math/trunc/trunc-specialVals.js:
1736         * test262/test/built-ins/Object/assign/strings-and-symbol-order.js: Added.
1737         * test262/test/built-ins/Object/keys/property-traps-order-with-proxied-array.js: Added.
1738         (get t):
1739         * test262/test/built-ins/Reflect/Reflect.js: Removed.
1740         * test262/test/built-ins/Reflect/prop-desc.js: Added.
1741         * test262/test/built-ins/Reflect/properties.js: Removed.
1742         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/internal-regexp-lastindex-not-zero.js: Added.
1743         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/isregexp-internal-regexp-is-false.js: Added.
1744         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/isregexp-internal-regexp-throws.js: Added.
1745         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/isregexp-this-throws.js: Added.
1746         (obj.get Symbol):
1747         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/length.js: Added.
1748         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/name.js: Added.
1749         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/prop-desc.js: Added.
1750         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/regexpcreate-this-throws.js: Added.
1751         (obj.toString):
1752         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor-get-constructor-throws.js: Added.
1753         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor-get-species-throws.js: Added.
1754         (regexp.get Symbol):
1755         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor-is-not-object-throws.js: Added.
1756         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor-is-undefined.js: Added.
1757         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor-species-is-not-constructor.js: Added.
1758         (callMatchAll):
1759         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor-species-is-null-or-undefined.js: Added.
1760         (TestWithConstructor):
1761         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor-species-throws.js: Added.
1762         (regexp.Symbol.species):
1763         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor.js: Added.
1764         (regexp.Symbol.species):
1765         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-regexp-get-global-throws.js: Added.
1766         (regexp.Symbol.species):
1767         (get assert):
1768         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-regexp-get-unicode-throws.js: Added.
1769         (regexp.Symbol.species):
1770         (get assert):
1771         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/string-tostring-throws.js: Added.
1772         (obj.valueOf):
1773         (obj.toString):
1774         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/string-tostring.js: Added.
1775         (obj.toString):
1776         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/this-get-flags-throws.js: Added.
1777         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/this-get-flags.js: Added.
1778         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/this-lastindex-cached.js: Added.
1779         (regexp.lastIndex.valueOf):
1780         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/this-not-object-throws.js: Added.
1781         (callMatchAll):
1782         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/this-tolength-lastindex-throws.js: Added.
1783         (regexp.lastIndex.valueOf):
1784         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/this-tostring-flags-throws.js: Added.
1785         (value.valueOf):
1786         (value.toString):
1787         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/this-tostring-flags.js: Added.
1788         (value.toString):
1789         * test262/test/built-ins/RegExpStringIteratorPrototype/Symbol.toStringTag.js: Added.
1790         * test262/test/built-ins/RegExpStringIteratorPrototype/ancestry.js: Added.
1791         * test262/test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec-call-throws.js: Added.
1792         (RegExp.prototype.exec):
1793         * test262/test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec-get-throws.js: Added.
1794         * test262/test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec-match-get-0-throws.js: Added.
1795         (return.get string_appeared_here):
1796         (RegExp.prototype.exec):
1797         * test262/test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec-match-get-0-tostring-throws.js: Added.
1798         (return.toString):
1799         (RegExp.prototype.exec):
1800         * test262/test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec-match-get-0-tostring.js: Added.
1801         (execResult.get string_appeared_here):
1802         (RegExp.prototype.exec):
1803         * test262/test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec-not-callable.js: Added.
1804         (TestWithRegExpExec):
1805         * test262/test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec.js: Added.
1806         (callNextWithExecReturnValue.RegExp.prototype.exec):
1807         (callNextWithExecReturnValue):
1808         * test262/test/built-ins/RegExpStringIteratorPrototype/next/length.js: Added.
1809         * test262/test/built-ins/RegExpStringIteratorPrototype/next/name.js: Added.
1810         * test262/test/built-ins/RegExpStringIteratorPrototype/next/next-iteration-global.js: Added.
1811         * test262/test/built-ins/RegExpStringIteratorPrototype/next/next-iteration.js: Added.
1812         * test262/test/built-ins/RegExpStringIteratorPrototype/next/next-missing-internal-slots.js: Added.
1813         * test262/test/built-ins/RegExpStringIteratorPrototype/next/prop-desc.js: Added.
1814         * test262/test/built-ins/RegExpStringIteratorPrototype/next/regexp-tolength-lastindex-throws.js: Added.
1815         (RegExp.prototype.exec):
1816         * test262/test/built-ins/RegExpStringIteratorPrototype/next/this-is-not-object-throws.js: Added.
1817         (callNext):
1818         * test262/test/built-ins/String/prototype/matchAll/length.js: Added.
1819         * test262/test/built-ins/String/prototype/matchAll/name.js: Added.
1820         * test262/test/built-ins/String/prototype/matchAll/prop-desc.js: Added.
1821         * test262/test/built-ins/String/prototype/matchAll/regexp-get-matchAll-throws.js: Added.
1822         * test262/test/built-ins/String/prototype/matchAll/regexp-is-null.js: Added.
1823         * test262/test/built-ins/String/prototype/matchAll/regexp-is-undefined.js: Added.
1824         * test262/test/built-ins/String/prototype/matchAll/regexp-matchAll-invocation.js: Added.
1825         (obj.Symbol.matchAll):
1826         * test262/test/built-ins/String/prototype/matchAll/regexp-matchAll-throws.js: Added.
1827         (regexp.Symbol.matchAll):
1828         * test262/test/built-ins/String/prototype/matchAll/regexp-prototype-get-matchAll-throws.js: Added.
1829         * test262/test/built-ins/String/prototype/matchAll/regexp-prototype-has-no-matchAll.js: Added.
1830         * test262/test/built-ins/String/prototype/matchAll/regexp-prototype-matchAll-invocation.js: Added.
1831         (RegExp.prototype.Symbol.matchAll):
1832         * test262/test/built-ins/String/prototype/matchAll/regexp-prototype-matchAll-throws.js: Added.
1833         (RegExp.prototype.Symbol.matchAll):
1834         * test262/test/built-ins/String/prototype/matchAll/this-val-non-obj-coercible.js: Added.
1835         * test262/test/built-ins/Symbol/matchAll/cross-realm.js: Added.
1836         * test262/test/built-ins/Symbol/matchAll/prop-desc.js: Added.
1837         * test262/test/harness/testTypedArray.js:
1838         * test262/test/intl402/Array/prototype/toLocaleString/calls-toLocaleString-number-elements.js: Added.
1839         * test262/test/intl402/Intl/getCanonicalLocales/invalid-tags.js:
1840         * test262/test/intl402/Locale/constructor-newtarget-undefined.js: Added.
1841         * test262/test/intl402/Locale/constructor-options-calendar-invalid.js: Added.
1842         (const.invalidCalendarOption.of.invalidCalendarOptions.new.Intl.Locale):
1843         * test262/test/intl402/Locale/constructor-options-calendar-valid.js: Added.
1844         * test262/test/intl402/Locale/constructor-options-language-invalid.js: Added.
1845         (const.invalidLanguageOption.of.invalidLanguageOptions.new.Intl.Locale):
1846         * test262/test/intl402/Locale/constructor-options-language-valid.js: Added.
1847         (toString):
1848         * test262/test/intl402/Locale/constructor-options-region-invalid.js: Added.
1849         (const.invalidRegionOption.of.invalidRegionOptions.new.Intl.Locale):
1850         * test262/test/intl402/Locale/constructor-options-region-valid.js: Added.
1851         * test262/test/intl402/Locale/constructor-options-script-invalid.js: Added.
1852         (const.invalidScriptOption.of.invalidScriptOptions.new.Intl.Locale):
1853         * test262/test/intl402/Locale/constructor-options-script-valid.js: Added.
1854         (toString):
1855         * test262/test/intl402/Locale/function-prototype.js: Added.
1856         * test262/test/intl402/Locale/instance-extensibility.js: Added.
1857         * test262/test/intl402/Locale/instance.js: Added.
1858         * test262/test/intl402/Locale/invalid-tag-throws-boolean.js: Added.
1859         * test262/test/intl402/Locale/invalid-tag-throws-null.js: Added.
1860         * test262/test/intl402/Locale/invalid-tag-throws-number.js: Added.
1861         * test262/test/intl402/Locale/invalid-tag-throws-symbol.js: Added.
1862         * test262/test/intl402/Locale/invalid-tag-throws-undefined.js: Added.
1863         * test262/test/intl402/Locale/invalid-tag-throws.js: Added.
1864         (const.invalidTag.of.getInvalidLanguageTags):
1865         * test262/test/intl402/Locale/length.js: Added.
1866         * test262/test/intl402/Locale/name.js: Added.
1867         * test262/test/intl402/Locale/prop-desc.js: Added.
1868         * test262/test/intl402/Locale/prototype/constructor.js: Added.
1869         * test262/test/intl402/Locale/prototype/maximize/length.js: Added.
1870         * test262/test/intl402/Locale/prototype/maximize/name.js: Added.
1871         * test262/test/intl402/Locale/prototype/maximize/prop-desc.js: Added.
1872         * test262/test/intl402/Locale/prototype/prop-desc.js: Added.
1873         * test262/test/intl402/Locale/prototype/toStringTag.js: Added.
1874         * test262/test/intl402/TypedArray/prototype/toLocaleString/calls-toLocaleString-number-elements.js: Added.
1875         (testWithTypedArrayConstructors):
1876         * test262/test/language/asi/S7.9_A11_T8.js:
1877         (else.x.1): Deleted.
1878         * test262/test/language/asi/S7.9_A4.js:
1879         (catch):
1880         * test262/test/language/asi/S7.9_A5.1_T1.js:
1881         * test262/test/language/asi/S7.9_A5.3_T1.js:
1882         * test262/test/language/block-scope/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-var-declaration-nested-in-function.js: Added.
1883         (g.f):
1884         (g):
1885         * test262/test/language/destructuring/binding/initialization-requires-object-coercible-null.js:
1886         * test262/test/language/destructuring/binding/initialization-requires-object-coercible-undefined.js:
1887         * test262/test/language/destructuring/binding/initialization-returns-normal-completion-for-empty-objects.js:
1888         * test262/test/language/destructuring/binding/syntax/array-elements-with-initializer.js:
1889         * test262/test/language/destructuring/binding/syntax/array-elements-with-object-patterns.js:
1890         * test262/test/language/destructuring/binding/syntax/array-elements-without-initializer.js:
1891         * test262/test/language/destructuring/binding/syntax/array-pattern-with-elisions.js:
1892         * test262/test/language/destructuring/binding/syntax/array-pattern-with-no-elements.js:
1893         * test262/test/language/destructuring/binding/syntax/array-rest-elements.js:
1894         * test262/test/language/destructuring/binding/syntax/object-pattern-with-no-property-list.js:
1895         * test262/test/language/destructuring/binding/syntax/property-list-bindings-elements.js:
1896         * test262/test/language/destructuring/binding/syntax/property-list-followed-by-a-single-comma.js:
1897         * test262/test/language/destructuring/binding/syntax/property-list-single-name-bindings.js:
1898         * test262/test/language/destructuring/binding/syntax/property-list-with-property-list.js:
1899         * test262/test/language/destructuring/binding/syntax/recursive-array-and-object-patterns.js:
1900         * test262/test/language/eval-code/direct/block-decl-eval-source-is-strict-nostrict.js: Copied from JSTests/test262/test/language/eval-code/direct/block-decl-strict-source.js.
1901         * test262/test/language/eval-code/direct/block-decl-eval-source-is-strict-onlystrict.js: Renamed from JSTests/test262/test/language/eval-code/direct/block-decl-strict-source.js.
1902         (catch):
1903         * test262/test/language/eval-code/direct/block-decl-onlystrict.js: Renamed from JSTests/test262/test/language/eval-code/direct/block-decl-strict-caller.js.
1904         * test262/test/language/eval-code/direct/switch-case-decl-eval-source-is-strict-nostrict.js: Renamed from JSTests/test262/test/language/eval-code/direct/switch-case-decl-strict-source.js.
1905         * test262/test/language/eval-code/direct/switch-case-decl-eval-source-is-strict-onlystrict.js: Copied from JSTests/test262/test/language/eval-code/direct/switch-case-decl-strict-caller.js.
1906         (catch):
1907         * test262/test/language/eval-code/direct/switch-case-decl-onlystrict.js: Renamed from JSTests/test262/test/language/eval-code/direct/switch-case-decl-strict-caller.js.
1908         * test262/test/language/eval-code/direct/switch-dflt-decl-eval-source-is-strict-nostrict.js: Renamed from JSTests/test262/test/language/eval-code/direct/switch-dflt-decl-strict-source.js.
1909         * test262/test/language/eval-code/direct/switch-dflt-decl-eval-source-is-strict-onlystrict.js: Copied from JSTests/test262/test/language/eval-code/direct/switch-dflt-decl-strict-caller.js.
1910         (catch):
1911         * test262/test/language/eval-code/direct/switch-dflt-decl-onlystrict.js: Renamed from JSTests/test262/test/language/eval-code/direct/switch-dflt-decl-strict-caller.js.
1912         * test262/test/language/expressions/async-arrow-function/await-as-param-ident-nested-arrow-parameter-position.js: Added.
1913         (async):
1914         * test262/test/language/expressions/async-arrow-function/await-as-param-nested-arrow-body-position.js: Added.
1915         (async):
1916         * test262/test/language/expressions/async-arrow-function/await-as-param-nested-arrow-parameter-position.js: Added.
1917         (async.a):
1918         * test262/test/language/expressions/async-arrow-function/await-as-param-rest-nested-arrow-parameter-position.js: Added.
1919         (async.a):
1920         * test262/test/language/expressions/async-arrow-function/escaped-async-line-terminator.js: Added.
1921         * test262/test/language/expressions/async-generator/generator-created-after-decl-inst.js: Added.
1922         (g.async.a):
1923         * test262/test/language/expressions/class/class-name-ident-await-escaped-module.js: Added.
1924         (C):
1925         * test262/test/language/expressions/class/class-name-ident-await-escaped.js: Added.
1926         (C):
1927         * test262/test/language/expressions/class/class-name-ident-await-module.js: Added.
1928         (C):
1929         * test262/test/language/expressions/class/class-name-ident-await.js: Added.
1930         (C):
1931         * test262/test/language/expressions/class/class-name-ident-let-escaped.js: Added.
1932         (C):
1933         * test262/test/language/expressions/class/class-name-ident-let.js: Added.
1934         (C):
1935         * test262/test/language/expressions/class/class-name-ident-static-escaped.js: Added.
1936         (C):
1937         * test262/test/language/expressions/class/class-name-ident-static.js: Added.
1938         * test262/test/language/expressions/class/class-name-ident-yield-escaped.js: Added.
1939         (C):
1940         * test262/test/language/expressions/class/class-name-ident-yield.js: Added.
1941         (C):
1942         * test262/test/language/expressions/class/constructor-this-tdz-during-initializers.js: Added.
1943         (Base):
1944         (C):
1945         * test262/test/language/expressions/class/fields-run-once-on-double-super.js: Added.
1946         (Base):
1947         (C):
1948         * test262/test/language/expressions/generators/generator-created-after-decl-inst.js: Added.
1949         (g):
1950         * test262/test/language/expressions/greater-than-or-equal/bigint-and-incomparable-string.js: Added.
1951         * test262/test/language/expressions/greater-than-or-equal/bigint-and-string.js: Added.
1952         * test262/test/language/expressions/greater-than/bigint-and-boolean.js: Added.
1953         * test262/test/language/expressions/greater-than/bigint-and-incomparable-string.js: Added.
1954         * test262/test/language/expressions/greater-than/bigint-and-string.js: Added.
1955         * test262/test/language/expressions/less-than-or-equal/bigint-and-incomparable-string.js: Added.
1956         * test262/test/language/expressions/less-than-or-equal/bigint-and-string.js: Added.
1957         * test262/test/language/expressions/less-than/bigint-and-boolean.js: Added.
1958         * test262/test/language/expressions/less-than/bigint-and-incomparable-string.js: Added.
1959         * test262/test/language/expressions/less-than/bigint-and-string.js: Added.
1960         * test262/test/language/expressions/object/method-definition/generator-super-prop-param.js:
1961         * test262/test/language/function-code/block-decl-onlystrict.js: Renamed from JSTests/test262/test/language/function-code/block-decl-strict.js.
1962         * test262/test/language/function-code/switch-case-decl-onlystrict.js: Renamed from JSTests/test262/test/language/function-code/switch-case-decl-strict.js.
1963         * test262/test/language/function-code/switch-dflt-decl-onlystrict.js: Renamed from JSTests/test262/test/language/function-code/switch-dflt-decl-strict.js.
1964         * test262/test/language/line-terminators/S7.3_A2.3.js: Removed.
1965         * test262/test/language/line-terminators/S7.3_A2.4.js: Removed.
1966         * test262/test/language/literals/regexp/invalid-optional-lookbehind.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
1967         * test262/test/language/literals/regexp/invalid-optional-negative-lookbehind.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
1968         * test262/test/language/literals/regexp/invalid-range-lookbehind.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
1969         * test262/test/language/literals/regexp/invalid-range-negative-lookbehind.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
1970         * test262/test/language/literals/regexp/u-invalid-optional-lookahead.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
1971         * test262/test/language/literals/regexp/u-invalid-optional-lookbehind.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
1972         * test262/test/language/literals/regexp/u-invalid-optional-negative-lookahead.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
1973         * test262/test/language/literals/regexp/u-invalid-optional-negative-lookbehind.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
1974         * test262/test/language/literals/regexp/u-invalid-range-lookahead.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
1975         * test262/test/language/literals/regexp/u-invalid-range-lookbehind.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
1976         * test262/test/language/literals/regexp/u-invalid-range-negative-lookahead.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
1977         * test262/test/language/literals/regexp/u-invalid-range-negative-lookbehind.js: Renamed from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
1978         * test262/test/language/literals/string/line-separator-eval.js: Added.
1979         * test262/test/language/literals/string/line-separator.js: Added.
1980         * test262/test/language/literals/string/paragraph-separator-eval.js: Added.
1981         * test262/test/language/literals/string/paragraph-separator.js: Added.
1982         * test262/test/language/module-code/early-strict-mode.js:
1983         * test262/test/language/statements/async-generator/generator-created-after-decl-inst.js: Added.
1984         (async.g):
1985         * test262/test/language/statements/break/S12.8_A8_T1.js:
1986         (catch):
1987         * test262/test/language/statements/break/S12.8_A8_T2.js:
1988         (catch):
1989         * test262/test/language/statements/class/class-name-ident-await-escaped-module.js: Added.
1990         (aw):
1991         * test262/test/language/statements/class/class-name-ident-await-escaped.js: Added.
1992         (aw):
1993         * test262/test/language/statements/class/class-name-ident-await-module.js: Added.
1994         (await):
1995         * test262/test/language/statements/class/class-name-ident-await.js: Added.
1996         (await):
1997         * test262/test/language/statements/class/class-name-ident-let-escaped.js: Added.
1998         (l):
1999         * test262/test/language/statements/class/class-name-ident-let.js: Added.
2000         (let):
2001         * test262/test/language/statements/class/class-name-ident-static-escaped.js: Added.
2002         (st):
2003         * test262/test/language/statements/class/class-name-ident-static.js: Added.
2004         * test262/test/language/statements/class/class-name-ident-yield-escaped.js: Added.
2005         (yi):
2006         * test262/test/language/statements/class/class-name-ident-yield.js: Added.
2007         (yield):
2008         * test262/test/language/statements/continue/S12.7_A8_T1.js:
2009         (catch):
2010         * test262/test/language/statements/continue/S12.7_A8_T2.js:
2011         (catch):
2012         * test262/test/language/statements/generators/generator-created-after-decl-inst.js: Added.
2013         (g):
2014         * test262/test/language/statements/try/early-catch-duplicates.js:
2015         * test262/test/language/statements/try/early-catch-function.js: Added.
2016         (f.catch.e):
2017         (f):
2018         * test262/test/language/statements/try/early-catch-lex.js:
2019         * test262/test/language/statements/try/early-catch-var.js:
2020         * test262/test262-Revision.txt:
2021
2022 2018-05-09  Caio Lima  <ticaiolima@gmail.com>
2023
2024         [ESNext][BigInt] Implement support for "==" operation
2025         https://bugs.webkit.org/show_bug.cgi?id=184474
2026
2027         Reviewed by Yusuke Suzuki.
2028
2029         * stress/big-int-equals-basic.js: Added.
2030         * stress/big-int-equals-to-primitive-precedence.js: Added.
2031         * stress/big-int-equals-wrapped-value.js: Added.
2032
2033 2018-05-08  Valerie R Young  <valerie@bocoup.com>
2034
2035         test262/Runner.pm: move input files to JSTests/test262
2036         https://bugs.webkit.org/show_bug.cgi?id=185389
2037
2038         Reviewed by Michael Saboff.
2039
2040         * test262/config.yaml: Renamed from Tools/Scripts/test262/config.yaml.
2041         * test262/expectations.yaml: Renamed from Tools/Scripts/test262/expectations.yaml.
2042
2043 2018-05-05  Filip Pizlo  <fpizlo@apple.com>
2044
2045         DFG AI should have O(1) clobbering
2046         https://bugs.webkit.org/show_bug.cgi?id=185287
2047
2048         Reviewed by Saam Barati.
2049
2050         * stress/simple-ai-effect.js: Added.
2051         (bar):
2052         (foo):
2053
2054 2018-05-04  Keith Miller  <keith_miller@apple.com>
2055
2056         isCacheableArrayLength should return true for undecided arrays
2057         https://bugs.webkit.org/show_bug.cgi?id=185309
2058
2059         Reviewed by Michael Saboff.
2060
2061         * stress/get-array-length-undecided.js: Added.
2062         (test):
2063
2064 2018-05-04  Dominik Infuehr  <dinfuehr@igalia.com>
2065
2066         Disable tests on systems with limited memory
2067         https://bugs.webkit.org/show_bug.cgi?id=185296
2068
2069         Reviewed by Saam Barati.
2070
2071         Test doesn't work with a limited amount of memory. I tried to reduce memory usage
2072         but then it was hard to reproduce the failure the test was originally made to test.
2073
2074         * stress/array-reverse-doesnt-clobber.js:
2075
2076 2018-05-03  Saam Barati  <sbarati@apple.com>
2077
2078         Don't prevent CreateThis being folded to NewObject when the structure is poly proto
2079         https://bugs.webkit.org/show_bug.cgi?id=185177
2080
2081         Reviewed by Filip Pizlo.
2082
2083         * microbenchmarks/construct-poly-proto-object.js: Added.
2084         (foo.A):
2085         (foo):
2086         * stress/allocation-sinking-new-object-with-poly-proto.js: Added.
2087         (foo.A):
2088         (foo):
2089         (makePolyProto):
2090         (bar):
2091         (baz):
2092
2093 2018-05-03  Michael Saboff  <msaboff@apple.com>
2094
2095         OSR entry pruning of Program Bytecodes doesn't take into account try/catch
2096         https://bugs.webkit.org/show_bug.cgi?id=185281
2097
2098         Reviewed by Saam Barati.
2099
2100         New regression test.
2101
2102         * stress/baseline-osrentry-catch-is-reachable.js: Added.
2103         (i.j.catch):
2104
2105 2018-05-03  Ryan Haddad  <ryanhaddad@apple.com>
2106
2107         Unreviewed, rolling out r231197.
2108
2109         The test added with this change crashes on the 32-bit JSC bot.
2110
2111         Reverted changeset:
2112
2113         "Correctly detect string overflow when using the 'Function'
2114         constructor"
2115         https://bugs.webkit.org/show_bug.cgi?id=184883
2116         https://trac.webkit.org/changeset/231197
2117
2118 2018-05-02  Filip Pizlo  <fpizlo@apple.com>
2119
2120         JSC should know how to cache custom getter accesses on the prototype chain
2121         https://bugs.webkit.org/show_bug.cgi?id=185213
2122
2123         Reviewed by Keith Miller.
2124
2125         * microbenchmarks/get-custom-getter.js: Added.
2126         (test):
2127
2128 2018-05-02  Robin Morisset  <rmorisset@apple.com>
2129
2130         emitCodeToGetArgumentsArrayLength should not crash on PhantomNewArrayWithSpread
2131         https://bugs.webkit.org/show_bug.cgi?id=183172
2132
2133         Reviewed by Filip Pizlo.
2134
2135         * stress/length-of-new-array-with-spread.js: Added.
2136         (foo):
2137         (bar):
2138         (baz):
2139
2140 2018-05-01  Yusuke Suzuki  <utatane.tea@gmail.com>
2141
2142         [JSC] Add SameValue DFG node
2143         https://bugs.webkit.org/show_bug.cgi?id=185065
2144
2145         Reviewed by Saam Barati.
2146
2147         * microbenchmarks/object-is.js: Added.
2148         (incognito):
2149         (sameValue):
2150         (test1):
2151         (test2):
2152         (test3):
2153         (test4):
2154         (test5):
2155         (test6):
2156         * stress/object-is.js: Added.
2157         (shouldBe):
2158         (is1):
2159         (is2):
2160         (is3):
2161         (is4):
2162         (is5):
2163         (is6):
2164         (is7):
2165         (is8):
2166         (is9):
2167         (is10):
2168         (is11):
2169         (is12):
2170         (is13):
2171         (is14):
2172         (is15):
2173
2174 2018-05-01  Robin Morisset  <rmorisset@apple.com>
2175
2176         Correctly detect string overflow when using the 'Function' constructor
2177         https://bugs.webkit.org/show_bug.cgi?id=184883
2178         <rdar://problem/36320331>
2179
2180         Reviewed by Filip Pizlo.
2181
2182         I put this regression test in the 'slowMicrobenchmarks' directory because it takes nearly 30s to run, and I am not sure where else to put it.
2183
2184         * slowMicrobenchmarks/function-constructor-with-huge-strings.js: Added.
2185         (catch):
2186
2187 2018-05-01  Robin Morisset  <rmorisset@apple.com>
2188
2189         IntlObject.cpp::removeUnicodeLocaleExtension() should not touch locales that end in '-u'
2190         https://bugs.webkit.org/show_bug.cgi?id=185162
2191
2192         Reviewed by Filip Pizlo.
2193
2194         * stress/incomplete-unicode-locale.js: Added.
2195         (catch):
2196
2197 2018-05-01  Dominik Infuehr  <dinfuehr@igalia.com>
2198
2199         Add SetCallee as DFG-Operation
2200         https://bugs.webkit.org/show_bug.cgi?id=184582
2201
2202         Reviewed by Filip Pizlo.
2203
2204         Added test that runs into infinite loop without updating the callee and
2205         therefore emitting SetCallee in DFG for recursive tail calls.
2206
2207         * stress/closure-recursive-tail-call-infinite-loop.js: Added.
2208         (Foo):
2209         (second):
2210         (first):
2211         (return.closure):
2212         (createClosure):
2213
2214 2018-04-30  Saam Barati  <sbarati@apple.com>
2215
2216         ToString constant folds without preserving checks, causing us to break assumptions that the code would OSR exit
2217         https://bugs.webkit.org/show_bug.cgi?id=185149
2218         <rdar://problem/39455917>
2219
2220         Reviewed by Filip Pizlo.
2221
2222         * stress/keep-checks-when-converting-to-lazy-js-constant-in-strength-reduction.js: Added.
2223
2224 2018-04-29  Filip Pizlo  <fpizlo@apple.com>
2225
2226         LICM shouldn't hoist nodes if hoisted nodes exited in that code block
2227         https://bugs.webkit.org/show_bug.cgi?id=185126
2228
2229         Reviewed by Saam Barati.
2230         
2231         I found this bug by accident when I was writing this test for something else.
2232         
2233         This change also speeds up other benchmarks of this case that we already had. They are all called
2234         the licm-dragons tests.
2235
2236         * microbenchmarks/licm-dragons-two-structures.js: Added.
2237         (foo):
2238
2239 2018-04-29  Commit Queue  <commit-queue@webkit.org>
2240
2241         Unreviewed, rolling out r231137.
2242         https://bugs.webkit.org/show_bug.cgi?id=185118
2243
2244         It is breaking Test262 language/expressions/multiplication
2245         /order-of-evaluation.js (Requested by caiolima on #webkit).
2246
2247         Reverted changeset:
2248
2249         "[ESNext][BigInt] Implement support for "*" operation"
2250         https://bugs.webkit.org/show_bug.cgi?id=183721
2251         https://trac.webkit.org/changeset/231137
2252
2253 2018-04-28  Saam Barati  <sbarati@apple.com>
2254
2255         We don't model regexp effects properly
2256         https://bugs.webkit.org/show_bug.cgi?id=185059
2257         <rdar://problem/39736150>
2258
2259         Reviewed by Filip Pizlo.
2260
2261         * stress/regexp-exec-test-effectful-last-index.js: Added.
2262         (assert):
2263         (foo):
2264         (i.regexLastIndex.toString):
2265         (bar):
2266
2267 2018-04-28  Rick Waldron  <waldron.rick@gmail.com>
2268
2269         Token misspelled "tocken" in error message string
2270         https://bugs.webkit.org/show_bug.cgi?id=185030
2271
2272         Reviewed by Saam Barati.
2273
2274         * ChakraCore/test/Basics/IdsWithEscapes.baseline-jsc: Fix typo "tocken" => "token"
2275         * stress/destructuring-assignment-syntax.js: Fix typo "tocken" => "token"
2276         * stress/error-messages-for-in-operator-should-not-crash.js: Fix typo "tocken" => "token"
2277         * stress/reserved-word-with-escape.js: Fix typo "tocken" => "token"
2278         (testSyntaxError.String.raw.v):
2279         (String.raw.SyntaxError.Cannot.use.the.keyword.string_appeared_here.as.a.name):
2280         (testSyntaxError.String.raw.a):
2281
2282 2018-04-28  Caio Lima  <ticaiolima@gmail.com>
2283
2284         [ESNext][BigInt] Implement support for "*" operation
2285         https://bugs.webkit.org/show_bug.cgi?id=183721
2286
2287         Reviewed by Saam Barati.
2288
2289         * bigIntTests.yaml:
2290         * stress/big-int-mul-jit.js: Added.
2291         * stress/big-int-mul-to-primitive-precedence.js: Added.
2292         * stress/big-int-mul-to-primitive.js: Added.
2293         * stress/big-int-mul-type-error.js: Added.
2294         * stress/big-int-mul-wrapped-value.js: Added.
2295         * stress/big-int-multiplication.js: Added.
2296         * stress/big-int-multiply-memory-stress.js: Added.
2297
2298 2018-04-28  Commit Queue  <commit-queue@webkit.org>
2299
2300         Unreviewed, rolling out r231131.
2301         https://bugs.webkit.org/show_bug.cgi?id=185112
2302
2303         It is breaking Debug build due to unchecked exception
2304         (Requested by caiolima on #webkit).
2305
2306         Reverted changeset:
2307
2308         "[ESNext][BigInt] Implement support for "*" operation"
2309         https://bugs.webkit.org/show_bug.cgi?id=183721
2310         https://trac.webkit.org/changeset/231131
2311
2312 2018-04-27  Caio Lima  <ticaiolima@gmail.com>
2313
2314         [ESNext][BigInt] Implement support for "*" operation
2315         https://bugs.webkit.org/show_bug.cgi?id=183721
2316
2317         Reviewed by Saam Barati.
2318
2319         * bigIntTests.yaml:
2320         * stress/big-int-mul-jit.js: Added.
2321         * stress/big-int-mul-to-primitive-precedence.js: Added.
2322         * stress/big-int-mul-to-primitive.js: Added.
2323         * stress/big-int-mul-type-error.js: Added.
2324         * stress/big-int-mul-wrapped-value.js: Added.
2325         * stress/big-int-multiplication.js: Added.
2326         * stress/big-int-multiply-memory-stress.js: Added.
2327
2328 2018-04-27  Ryan Haddad  <ryanhaddad@apple.com>
2329
2330         Unreviewed, rolling out r231086.
2331
2332         Caused JSC test failures due to an unchecked exception.
2333
2334         Reverted changeset:
2335
2336         "[ESNext][BigInt] Implement support for "*" operation"
2337         https://bugs.webkit.org/show_bug.cgi?id=183721
2338         https://trac.webkit.org/changeset/231086
2339
2340 2018-04-27  Ryan Haddad  <ryanhaddad@apple.com>
2341
2342         Unreviewed test gardening, update expectations for test262/intl402/PluralRules tests after r231047.
2343
2344         * test262.yaml: Mark tests as passing.
2345
2346 2018-04-26  Caio Lima  <ticaiolima@gmail.com>
2347
2348         [ESNext][BigInt] Implement support for "*" operation
2349         https://bugs.webkit.org/show_bug.cgi?id=183721
2350
2351         Reviewed by Saam Barati.
2352
2353         * bigIntTests.yaml:
2354         * stress/big-int-mul-jit.js: Added.
2355         * stress/big-int-mul-to-primitive-precedence.js: Added.
2356         * stress/big-int-mul-to-primitive.js: Added.
2357         * stress/big-int-mul-type-error.js: Added.
2358         * stress/big-int-mul-wrapped-value.js: Added.
2359         * stress/big-int-multiplication.js: Added.
2360         * stress/big-int-multiply-memory-stress.js: Added.
2361
2362 2018-04-25  Robin Morisset  <rmorisset@apple.com>
2363
2364         In FTLLowerDFGToB3.cpp::compileCreateRest, always use a contiguous array as the indexing type when under isWatchingHavingABadTimeWatchpoint
2365         https://bugs.webkit.org/show_bug.cgi?id=184773
2366         <rdar://problem/37773612>
2367
2368         Reviewed by Filip Pizlo.
2369
2370         This bug requires a race between the thread doing FTL compilation and the main thread, but it triggers in 100% of cases (before the fix) on my machine
2371         so I decided to add it to the stress tests nonetheless.
2372
2373         * stress/create-rest-while-having-a-bad-time.js: Added.
2374         (f):
2375         (g):
2376         (h):
2377
2378 2018-04-25  Keith Miller  <keith_miller@apple.com>
2379
2380         Add missing scope release to functionProtoFuncToString
2381         https://bugs.webkit.org/show_bug.cgi?id=184995
2382
2383         Reviewed by Saam Barati.
2384
2385         * stress/function-toString-arrow.js: Added.
2386         (async):
2387
2388 2018-04-24  Keith Miller  <keith_miller@apple.com>
2389
2390         fromCharCode is missing some exception checks
2391         https://bugs.webkit.org/show_bug.cgi?id=184952
2392
2393         Reviewed by Saam Barati.
2394
2395         * stress/fromCharCode-exception-check.js: Added.
2396         (get catch):
2397
2398 2018-04-24  Mark Lam  <mark.lam@apple.com>
2399
2400         Gardening: test fix after r230863.
2401         https://bugs.webkit.org/show_bug.cgi?id=184846
2402         <rdar://problem/39390672>
2403
2404         Not reviewed.
2405
2406         * stress/json-stringified-overflow-2.js:
2407         (catch):
2408         * stress/json-stringified-overflow.js:
2409         (catch):
2410
2411 2018-04-20  JF Bastien  <jfbastien@apple.com>
2412
2413         Handle more JSON stringify OOM
2414         https://bugs.webkit.org/show_bug.cgi?id=184846
2415         <rdar://problem/39390672>
2416
2417         Reviewed by Mark Lam.
2418
2419         * stress/json-stringified-overflow-2.js: Added. Same as the one
2420         below, but with a bigger input which will trigger a different code
2421         path.
2422         (catch):
2423         * stress/json-stringified-overflow.js: Modify the test to only
2424         catch OOM on stringification. not on string creation.
2425
2426 2018-04-18  Yusuke Suzuki  <utatane.tea@gmail.com>
2427
2428         [WebAssembly][Modules] Import tables in wasm modules
2429         https://bugs.webkit.org/show_bug.cgi?id=184738
2430
2431         Reviewed by JF Bastien.
2432
2433         * wasm/modules/wasm-imports-js-re-exports-wasm-exports.js:
2434         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/imports.wasm:
2435         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/imports.wat:
2436         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/re-export.js:
2437         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/sum.wasm:
2438         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/sum.wat:
2439         * wasm/modules/wasm-imports-wasm-exports.js:
2440         * wasm/modules/wasm-imports-wasm-exports/imports.wasm:
2441         * wasm/modules/wasm-imports-wasm-exports/imports.wat:
2442         * wasm/modules/wasm-imports-wasm-exports/sum.wasm:
2443         * wasm/modules/wasm-imports-wasm-exports/sum.wat:
2444
2445 2018-04-18  Yusuke Suzuki  <utatane.tea@gmail.com>
2446
2447         [WebAssembly][Modules] Import globals from wasm modules
2448         https://bugs.webkit.org/show_bug.cgi?id=184736
2449
2450         Reviewed by JF Bastien.
2451
2452         * wasm.yaml:
2453         * wasm/modules/wasm-imports-js-re-exports-wasm-exports.js:
2454         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/imports.wasm:
2455         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/imports.wat:
2456         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/re-export.js:
2457         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/sum.wasm:
2458         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/sum.wat:
2459         * wasm/modules/wasm-imports-wasm-exports.js:
2460         * wasm/modules/wasm-imports-wasm-exports/imports.wasm:
2461         * wasm/modules/wasm-imports-wasm-exports/imports.wat:
2462         * wasm/modules/wasm-imports-wasm-exports/sum.wasm:
2463         * wasm/modules/wasm-imports-wasm-exports/sum.wat:
2464
2465 2018-04-18  Yusuke Suzuki  <utatane.tea@gmail.com>
2466
2467         Unreviewed, reland r230697, r230720, and r230724.
2468         https://bugs.webkit.org/show_bug.cgi?id=184600
2469
2470         * wasm.yaml:
2471         * wasm/modules/constant.wasm: Added.
2472         * wasm/modules/constant.wat: Added.
2473         * wasm/modules/default-import-star-error.js: Added.
2474         (then):
2475         * wasm/modules/default-import-star-error/entry.wasm: Added.
2476         * wasm/modules/default-import-star-error/entry.wat: Added.
2477         * wasm/modules/default-import-star-error/t0.js: Added.
2478         * wasm/modules/default-import-star-error/t1.js: Added.
2479         * wasm/modules/default-import-star-error/t2.js: Added.
2480         (export.default.Cocoa):
2481         * wasm/modules/js-wasm-cycle.js: Added.
2482         * wasm/modules/js-wasm-cycle/entry.js: Added.
2483         (from.string_appeared_here.export.return42):
2484         * wasm/modules/js-wasm-cycle/sum.wasm: Added.
2485         * wasm/modules/js-wasm-cycle/sum.wat: Added.
2486         * wasm/modules/js-wasm-function-namespace.js: Added.
2487         (assert.throws):
2488         * wasm/modules/js-wasm-function.js: Added.
2489         (assert.throws):
2490         * wasm/modules/js-wasm-global-namespace.js: Added.
2491         (assert.throws):
2492         * wasm/modules/js-wasm-global.js: Added.
2493         (assert.throws):
2494         * wasm/modules/js-wasm-memory-namespace.js: Added.
2495         (assert.throws):
2496         * wasm/modules/js-wasm-memory.js: Added.
2497         (assert.throws):
2498         * wasm/modules/js-wasm-start.js: Added.
2499         (then):
2500         * wasm/modules/js-wasm-table-namespace.js: Added.
2501         (assert.throws):
2502         * wasm/modules/js-wasm-table.js: Added.
2503         (assert.throws):
2504         * wasm/modules/memory.wasm: Added.
2505         * wasm/modules/memory.wat: Added.
2506         * wasm/modules/run-from-wasm.wasm: Added.
2507         * wasm/modules/run-from-wasm.wat: Added.
2508         * wasm/modules/run-from-wasm/check.js: Added.
2509         (export.check):
2510         * wasm/modules/start.wasm: Added.
2511         * wasm/modules/start.wat: Added.
2512         * wasm/modules/sum.wasm: Added.
2513         * wasm/modules/sum.wat: Added.
2514         * wasm/modules/table.wasm: Added.
2515         * wasm/modules/table.wat: Added.
2516         * wasm/modules/wasm-imports-js-exports.js: Added.
2517         * wasm/modules/wasm-imports-js-exports/imports.wasm: Added.
2518         * wasm/modules/wasm-imports-js-exports/imports.wat: Added.
2519         * wasm/modules/wasm-imports-js-exports/sum.js: Added.
2520         (export.sum):
2521         * wasm/modules/wasm-imports-js-re-exports-wasm-exports.js: Added.
2522         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/imports.wasm: Added.
2523         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/imports.wat: Added.
2524         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/re-export.js: Added.
2525         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/sum.wasm: Added.
2526         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/sum.wat: Added.
2527         * wasm/modules/wasm-imports-wasm-exports.js: Added.
2528         * wasm/modules/wasm-imports-wasm-exports/imports.wasm: Added.
2529         * wasm/modules/wasm-imports-wasm-exports/imports.wat: Added.
2530         * wasm/modules/wasm-imports-wasm-exports/sum.wasm: Added.
2531         * wasm/modules/wasm-imports-wasm-exports/sum.wat: Added.
2532         * wasm/modules/wasm-js-cycle.js: Added.
2533         * wasm/modules/wasm-js-cycle/entry.wasm: Added.
2534         * wasm/modules/wasm-js-cycle/entry.wat: Added.
2535         * wasm/modules/wasm-js-cycle/sum.js: Added.
2536         (from.string_appeared_here.export.sum):
2537         * wasm/modules/wasm-wasm-cycle.js: Added.
2538         * wasm/modules/wasm-wasm-cycle/entry.wasm: Added.
2539         * wasm/modules/wasm-wasm-cycle/entry.wat: Added.
2540         * wasm/modules/wasm-wasm-cycle/sum.wasm: Added.
2541         * wasm/modules/wasm-wasm-cycle/sum.wat: Added.
2542
2543 2018-04-17  Commit Queue  <commit-queue@webkit.org>
2544
2545         Unreviewed, rolling out r230697, r230720, and r230724.
2546         https://bugs.webkit.org/show_bug.cgi?id=184717
2547
2548         These caused multiple failures on the Test262 testers.
2549         (Requested by mlewis13 on #webkit).
2550
2551         Reverted changesets:
2552
2553         "[WebAssembly][Modules] Prototype wasm import"
2554         https://bugs.webkit.org/show_bug.cgi?id=184600
2555         https://trac.webkit.org/changeset/230697
2556
2557         "[WebAssembly][Modules] Implement function import from wasm
2558         modules"
2559         https://bugs.webkit.org/show_bug.cgi?id=184689
2560         https://trac.webkit.org/changeset/230720
2561
2562         "[JSC] Rename runWebAssembly to runWebAssemblySuite"
2563         https://bugs.webkit.org/show_bug.cgi?id=184703
2564         https://trac.webkit.org/changeset/230724
2565
2566 2018-04-17  JF Bastien  <jfbastien@apple.com>
2567
2568         A put is not an ExistingProperty put when we transition a structure because of an attributes change
2569         https://bugs.webkit.org/show_bug.cgi?id=184706
2570         <rdar://problem/38871451>
2571
2572         Reviewed by Saam Barati.
2573
2574         * stress/put-by-id-direct-strict-transition.js: Added.
2575         (const.foo):
2576         (j.const.obj.set hello):
2577         * stress/put-by-id-direct-transition.js: Added.
2578         (const.foo):
2579         (j.const.obj.set hello):
2580         * stress/put-getter-setter-by-id-strict-transition.js: Added.
2581         (const.foo):
2582         (j.const.obj.set hello):
2583         * stress/put-getter-setter-by-id-transition.js: Added.
2584         (const.foo):
2585         (j.const.obj.set hello):
2586
2587 2018-04-16  Filip Pizlo  <fpizlo@apple.com>
2588
2589         PutStackSinkingPhase should know that KillStack means ConflictingFlush
2590         https://bugs.webkit.org/show_bug.cgi?id=184672
2591
2592         Reviewed by Michael Saboff.
2593
2594         * stress/sink-put-stack-over-kill-stack.js: Added.
2595         (avocado_1):
2596         (apricot_0):
2597         (__c_0):
2598         (banana_2):
2599
2600 2018-04-17  Yusuke Suzuki  <utatane.tea@gmail.com>
2601
2602         [JSC] Rename runWebAssembly to runWebAssemblySuite
2603         https://bugs.webkit.org/show_bug.cgi?id=184703
2604
2605         Reviewed by JF Bastien.
2606
2607         And add runWebAssembly as a command to simplely run wasm modules.
2608
2609         * wasm.yaml:
2610
2611 2018-04-17  Yusuke Suzuki  <utatane.tea@gmail.com>
2612
2613         [WebAssembly][Modules] Implement function import from wasm modules
2614         https://bugs.webkit.org/show_bug.cgi?id=184689
2615
2616         Reviewed by JF Bastien.
2617
2618         * wasm.yaml:
2619         * wasm/modules/js-wasm-cycle.js: Added.
2620         * wasm/modules/js-wasm-cycle/entry.js: Added.
2621         (from.string_appeared_here.export.return42):
2622         * wasm/modules/js-wasm-cycle/sum.wasm: Added.
2623         * wasm/modules/js-wasm-cycle/sum.wat: Added.
2624         * wasm/modules/run-from-wasm.wasm: Added.
2625         * wasm/modules/run-from-wasm.wat: Added.
2626         * wasm/modules/run-from-wasm/check.js: Added.
2627         (export.check):
2628         * wasm/modules/wasm-imports-js-exports.js: Added.
2629         * wasm/modules/wasm-imports-js-exports/imports.wasm: Added.
2630         * wasm/modules/wasm-imports-js-exports/imports.wat: Added.
2631         * wasm/modules/wasm-imports-js-exports/sum.js: Added.
2632         (export.sum):
2633         * wasm/modules/wasm-imports-js-re-exports-wasm-exports.js: Added.
2634         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/imports.wasm: Added.
2635         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/imports.wat: Added.
2636         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/re-export.js: Added.
2637         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/sum.wasm: Added.
2638         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/sum.wat: Added.
2639         * wasm/modules/wasm-imports-wasm-exports.js: Added.
2640         * wasm/modules/wasm-imports-wasm-exports/imports.wasm: Added.
2641         * wasm/modules/wasm-imports-wasm-exports/imports.wat: Added.
2642         * wasm/modules/wasm-imports-wasm-exports/sum.wasm: Added.
2643         * wasm/modules/wasm-imports-wasm-exports/sum.wat: Added.
2644         * wasm/modules/wasm-js-cycle.js: Added.
2645         * wasm/modules/wasm-js-cycle/entry.wasm: Added.
2646         * wasm/modules/wasm-js-cycle/entry.wat: Added.
2647         * wasm/modules/wasm-js-cycle/sum.js: Added.
2648         (from.string_appeared_here.export.sum):
2649         * wasm/modules/wasm-wasm-cycle.js: Added.
2650         * wasm/modules/wasm-wasm-cycle/entry.wasm: Added.
2651         * wasm/modules/wasm-wasm-cycle/entry.wat: Added.
2652         * wasm/modules/wasm-wasm-cycle/sum.wasm: Added.
2653         * wasm/modules/wasm-wasm-cycle/sum.wat: Added.
2654
2655 2018-04-16  Yusuke Suzuki  <utatane.tea@gmail.com>
2656
2657         [WebAssembly][Modules] Prototype wasm import
2658         https://bugs.webkit.org/show_bug.cgi?id=184600
2659
2660         Reviewed by JF Bastien.
2661
2662         Add wasm and wat files since module loader want to load wasm files from FS.
2663         Currently, importing the other modules from wasm is not supported.
2664
2665         * wasm.yaml:
2666         * wasm/modules/constant.wasm: Added.
2667         * wasm/modules/constant.wat: Added.
2668         * wasm/modules/js-wasm-function-namespace.js: Added.
2669         (assert.throws):
2670         * wasm/modules/js-wasm-function.js: Added.
2671         (assert.throws):
2672         * wasm/modules/js-wasm-global-namespace.js: Added.
2673         (assert.throws):
2674         * wasm/modules/js-wasm-global.js: Added.
2675         (assert.throws):
2676         * wasm/modules/js-wasm-memory-namespace.js: Added.
2677         (assert.throws):
2678         * wasm/modules/js-wasm-memory.js: Added.
2679         (assert.throws):
2680         * wasm/modules/js-wasm-start.js: Added.
2681         (then):
2682         * wasm/modules/js-wasm-table-namespace.js: Added.
2683         (assert.throws):
2684         * wasm/modules/js-wasm-table.js: Added.
2685         (assert.throws):
2686         * wasm/modules/memory.wasm: Added.
2687         * wasm/modules/memory.wat: Added.
2688         * wasm/modules/start.wasm: Added.
2689         * wasm/modules/start.wat: Added.
2690         * wasm/modules/sum.wasm: Added.
2691         * wasm/modules/sum.wat: Added.
2692         * wasm/modules/table.wasm: Added.
2693         * wasm/modules/table.wat: Added.
2694
2695 2018-04-14  Filip Pizlo  <fpizlo@apple.com>
2696
2697         Function.prototype.caller shouldn't return generator bodies
2698         https://bugs.webkit.org/show_bug.cgi?id=184630
2699
2700         Reviewed by Yusuke Suzuki.
2701
2702         * stress/function-caller-async-arrow-function-body.js: Added.
2703         * stress/function-caller-async-function-body.js: Added.
2704         * stress/function-caller-async-generator-body.js: Added.
2705         * stress/function-caller-generator-body.js: Added.
2706         * stress/function-caller-generator-method-body.js: Added.
2707
2708 2018-04-12  Tomas Popela  <tpopela@redhat.com>
2709
2710         Unreviewed, skip JIT tests if it isn't enabled
2711
2712         See https://bugs.webkit.org/show_bug.cgi?id=182730.
2713
2714         * stress/big-int-spec-to-primitive.js:
2715         * stress/big-int-spec-to-this.js:
2716
2717 2018-04-10  Caio Lima  <ticaiolima@gmail.com>
2718
2719         [ESNext][BigInt] Add support for BigInt in SpeculatedType
2720         https://bugs.webkit.org/show_bug.cgi?id=182470
2721
2722         Reviewed by Saam Barati.
2723
2724         * stress/big-int-spec-to-primitive.js: Added.
2725         * stress/big-int-spec-to-this.js: Added.
2726         * stress/big-int-strict-equals-jit.js: Added.
2727         * stress/big-int-strict-spec-to-this.js: Added.
2728         * stress/big-int-type-of-proven-type.js: Added.
2729
2730 2018-04-10  Filip Pizlo  <fpizlo@apple.com>
2731
2732         DFG AI and clobberize should agree with each other
2733         https://bugs.webkit.org/show_bug.cgi?id=184440
2734
2735         Reviewed by Saam Barati.
2736         
2737         Add tests for all of the bugs I fixed.
2738
2739         * stress/direct-arguments-out-of-bounds-change-structure.js: Added.
2740         (foo):
2741         * stress/new-typed-array-cse-effects.js: Added.
2742         (foo):
2743         * stress/scoped-arguments-out-of-bounds-change-structure.js: Added.
2744         (foo.theO):
2745         (foo):
2746         * stress/string-from-char-code-change-structure-not-dead.js: Added.
2747         (foo):
2748         (i.valueOf):
2749         (weirdValue.valueOf):
2750         * stress/string-from-char-code-change-structure.js: Added.
2751         (foo):
2752         (i.valueOf):
2753         (weirdValue.valueOf):
2754
2755 2018-04-09  Leo Balter  <leonardo.balter@gmail.com>
2756
2757         Fix errant Test262 files CRLF to LF for consistency with the original source
2758         https://bugs.webkit.org/show_bug.cgi?id=184425
2759
2760         Reviewed by Yusuke Suzuki.
2761
2762         * test262/test/built-ins/Math/acosh/nan-returns.js:
2763         * test262/test/built-ins/Math/asinh/asinh-specialVals.js:
2764         * test262/test/built-ins/Math/atanh/atanh-specialVals.js:
2765         * test262/test/built-ins/Math/cbrt/cbrt-specialValues.js:
2766         * test262/test/built-ins/Math/cbrt/prop-desc.js:
2767         * test262/test/built-ins/Math/cosh/cosh-specialVals.js:
2768         * test262/test/built-ins/Math/expm1/expm1-specialVals.js:
2769         * test262/test/built-ins/Math/log10/Log10-specialVals.js:
2770         * test262/test/built-ins/Math/log2/log2-basicTests.js:
2771         * test262/test/built-ins/Math/sign/sign-specialVals.js:
2772         * test262/test/built-ins/Math/sinh/sinh-specialVals.js:
2773         * test262/test/built-ins/Math/tanh/tanh-specialVals.js:
2774         * test262/test/built-ins/Math/trunc/trunc-sampleTests.js:
2775         * test262/test/built-ins/Math/trunc/trunc-specialVals.js:
2776
2777 2018-04-08  Yusuke Suzuki  <utatane.tea@gmail.com>
2778
2779         Unreviewed, remove incorrect entry in test262.yaml
2780         https://bugs.webkit.org/show_bug.cgi?id=184266
2781
2782         * test262.yaml:
2783
2784 2018-04-08  Valerie Young  <valerie@bocoup.com>
2785
2786         [JSC] Update Test262 to April 6 version
2787         https://bugs.webkit.org/show_bug.cgi?id=184266
2788
2789         Rubber stamped by Yusuke Suzuki.
2790
2791 2018-04-08  Yusuke Suzuki  <utatane.tea@gmail.com>
2792
2793         [JSC] Introduce op_get_by_id_direct
2794         https://bugs.webkit.org/show_bug.cgi?id=183970
2795
2796         Reviewed by Filip Pizlo.
2797
2798         * stress/generator-prototype-copy.js: Added.
2799         (gen):
2800         (catch):
2801         Adopted JF's tests.
2802
2803         * stress/generator-type-check.js: Added.
2804         (shouldThrow):
2805         (foo2):
2806         (i.shouldThrow):
2807         * stress/get-by-id-direct-getter.js: Added.
2808         (shouldBe):
2809         (shouldThrow):
2810         (obj.get hello):
2811         (builtin.createBuiltin):
2812         (obj2.get length):
2813         * stress/get-by-id-direct.js: Added.
2814         (shouldBe):
2815         (shouldThrow):
2816         (builtin.createBuiltin):
2817         * test262.yaml:
2818         We fixed long-standing spec compatibility issue.
2819         As a result, this patch makes several test262 tests passed!
2820
2821
2822 2018-04-07  Yusuke Suzuki  <utatane.tea@gmail.com>
2823
2824         Unreviewed, annotate test with @skip if $memoryLimited
2825         https://bugs.webkit.org/show_bug.cgi?id=183894
2826
2827         * stress/json-stringified-overflow.js:
2828
2829 2018-04-06  Alexey Proskuryakov  <ap@apple.com>
2830
2831         Add svn:eol-style to line-terminator-normalisation-CR.js
2832         https://bugs.webkit.org/show_bug.cgi?id=184341
2833
2834         * test262/test/built-ins/Function/prototype/toString/line-terminator-normalisation-CR.js: Added property svn:eol-style.
2835
2836 2018-04-06  Ross Kirsling  <ross.kirsling@sony.com>
2837
2838         Unreviewed, remove errant LF from existing test262 test for CR line endings.
2839
2840         * test262/test/built-ins/Function/prototype/toString/line-terminator-normalisation-CR.js:
2841
2842 2018-04-05  Ross Kirsling  <ross.kirsling@sony.com>
2843
2844         Unreviewed, rolling out r230320.
2845
2846         Revert fix, as the root cause lies elsewhere.
2847
2848         Reverted changeset:
2849
2850         "[test262] Mark line-terminator-normalisation-CR.js as a
2851         binary file."
2852         https://bugs.webkit.org/show_bug.cgi?id=184341
2853         https://trac.webkit.org/changeset/230320
2854
2855 2018-04-05  Ross Kirsling  <ross.kirsling@sony.com>
2856
2857         [test262] Mark line-terminator-normalisation-CR.js as a binary file.
2858         https://bugs.webkit.org/show_bug.cgi?id=184341
2859
2860         Reviewed by Yusuke Suzuki.
2861
2862         This test is all about CR line endings, but `svn-apply` can't deal with them.
2863         Treating the file as binary ensures that its contents never are never shown in a diff.
2864
2865         * .gitattributes: Added.
2866
2867 2018-04-05  Robin Morisset  <rmorisset@apple.com>
2868
2869         Fix testcase (missing try/catch).
2870         https://bugs.webkit.org/show_bug.cgi?id=183657
2871
2872         Unreviewed.
2873
2874         * stress/large-unshift-splice.js
2875
2876 2018-04-04  Filip Pizlo  <fpizlo@apple.com>
2877
2878         REGRESSION(r222563): removed DoubleReal type check causes tons of crashes because CSE has never known how to handle SaneChain
2879         https://bugs.webkit.org/show_bug.cgi?id=184319
2880
2881         Reviewed by Saam Barati.
2882
2883         * stress/array-push-nan-to-double-array-cse-sane-and-insane-chain.js: Added.
2884         (foo):
2885         (bar):
2886         * stress/array-push-nan-to-double-array.js: Added.
2887         (foo):
2888         (bar):
2889
2890 2018-04-03  Mark Lam  <mark.lam@apple.com>
2891
2892         Test js-fixed-array-out-of-memory.js should be excluded for memory limited devices.
2893         https://bugs.webkit.org/show_bug.cgi?id=184284
2894
2895         Reviewed by Saam Barati.
2896
2897         * stress/js-fixed-array-out-of-memory.js:
2898
2899 2018-03-31  Filip Pizlo  <fpizlo@apple.com>
2900
2901         JSC crash in JIT code with for-of loop and Array/Set iterators
2902         https://bugs.webkit.org/show_bug.cgi?id=183174
2903
2904         Reviewed by Saam Barati.
2905
2906         * microbenchmarks/hoist-get-by-offset-tower-with-inferred-types.js: Added. This test shows that fixing the bug didn't break hoisting of GetByOffset with inferred types. I confirmed that if I did break it, this test slows down by >7x.
2907         (foo):
2908         * stress/hoist-get-by-offset-with-control-dependent-inferred-type.js: Added. This test shows that the bug is fixed.
2909         (f):
2910
2911 2018-03-30  JF Bastien  <jfbastien@apple.com>
2912
2913         WebAssembly: support DataView compilation
2914         https://bugs.webkit.org/show_bug.cgi?id=183342
2915
2916         Reviewed by Mark Lam.
2917
2918         Test WebAssembly compilation using a DataView with offset.
2919
2920         * wasm/regress/183342.js: Added.
2921         (attempt.catch):
2922
2923 2018-03-30  Filip Pizlo  <fpizlo@apple.com>
2924
2925         Bytecode generator should not get_from_scope something that may be a hole into a variable that is already live
2926         https://bugs.webkit.org/show_bug.cgi?id=184189
2927
2928         Reviewed by JF Bastien.
2929
2930         * stress/load-hole-from-scope-into-live-var.js: Added.
2931         (result.eval.try.switch):
2932         (catch):
2933
2934 2018-03-30  Ryan Haddad  <ryanhaddad@apple.com>
2935
2936         Unreviewed, rolling out r230102.
2937
2938         Caused assertion failures on JSC bots.
2939
2940         Reverted changeset:
2941
2942         "A stack overflow in the parsing of a builtin (called by
2943         createExecutable) cause a crash instead of a catchable js
2944         exception"
2945         https://bugs.webkit.org/show_bug.cgi?id=184074
2946         https://trac.webkit.org/changeset/230102
2947
2948 2018-03-30  Robin Morisset  <rmorisset@apple.com>
2949
2950         Inlining of a function that ends in op_unreachable in a non-tail position triggers an ASSERT
2951         https://bugs.webkit.org/show_bug.cgi?id=183812
2952
2953         Reviewed by Keith Miller.
2954
2955         * stress/inlining-unreachable-non-tail.js: Added.
2956         (foo.):
2957         (foo):
2958
2959 2018-03-30  Robin Morisset  <rmorisset@apple.com>
2960
2961         A stack overflow in the parsing of a builtin (called by createExecutable) cause a crash instead of a catchable js exception
2962         https://bugs.webkit.org/show_bug.cgi?id=184074
2963         <rdar://problem/37165897>
2964
2965         Reviewed by Keith Miller.
2966
2967         * stress/stack-overflow-while-parsing-builtin.js: Added.
2968         (f):
2969
2970 2018-03-30  Robin Morisset  <rmorisset@apple.com>
2971
2972         Out-of-bounds accesses due to a missing check for MAX_STORAGE_VECTOR_LENGTH in unshiftCountForAnyIndexingType
2973         https://bugs.webkit.org/show_bug.cgi?id=183657
2974
2975         Reviewed by Keith Miller.
2976
2977         * stress/large-unshift-splice.js: Added.
2978         (make_contig_arr):
2979
2980 2018-03-28  Robin Morisset  <rmorisset@apple.com>
2981
2982         appendQuotedJSONString stops on arithmetic overflow instead of propagating it upwards
2983         https://bugs.webkit.org/show_bug.cgi?id=183894
2984
2985         Reviewed by Saam Barati.
2986
2987         * stress/json-stringified-overflow.js: Added.
2988         (catch):
2989
2990 2018-03-26  Filip Pizlo  <fpizlo@apple.com>
2991
2992         DFG should know that CreateThis can be effectful
2993         https://bugs.webkit.org/show_bug.cgi?id=184013
2994
2995         Reviewed by Saam Barati.
2996
2997         * stress/create-this-property-change.js: Added.
2998         (Foo):
2999         (RealBar):
3000         (get if):
3001         * stress/create-this-structure-change-without-cse.js: Added.
3002         (Foo):
3003         (RealBar):
3004         (get if):
3005         * stress/create-this-structure-change.js: Added.
3006         (Foo):
3007         (RealBar):
3008         (get if):
3009
3010 2018-03-22  Yusuke Suzuki  <utatane.tea@gmail.com>
3011
3012         [DFG] Introduces fused compare and jump
3013         https://bugs.webkit.org/show_bug.cgi?id=177100
3014
3015         Reviewed by Mark Lam.
3016
3017         * stress/fused-jeq-slow.js: Added.
3018         (shouldBe):
3019         (testJEQ):
3020         (testJNEQB):
3021         (testJEQB):
3022         (testJNEQF):
3023         (testJEQF):
3024         * stress/fused-jeq.js: Added.
3025         (shouldBe):
3026         (testJEQ):
3027         (testJNEQB):
3028         (testJEQB):
3029         (testJNEQF):
3030         (testJEQF):
3031         * stress/fused-jstricteq-slow.js: Added.
3032         (shouldBe):
3033         (testJSTRICTEQ):
3034         (testJNSTRICTEQB):
3035         (testJSTRICTEQB):
3036         (testJNSTRICTEQF):
3037         (testJSTRICTEQF):
3038         * stress/fused-jstricteq.js: Added.
3039         (shouldBe):
3040         (testJSTRICTEQ):
3041         (testJNSTRICTEQB):
3042         (testJSTRICTEQB):
3043         (testJNSTRICTEQF):
3044         (testJSTRICTEQF):
3045
3046 2018-03-22  Yusuke Suzuki  <utatane.tea@gmail.com>
3047
3048         [JSC] Clear MustGenerate for ToString(Number) converted from NumberToStringWithRadix
3049         https://bugs.webkit.org/show_bug.cgi?id=183559
3050
3051         Reviewed by Mark Lam.
3052
3053         * stress/double-to-string-in-loop-removed.js: Added.
3054         (test):
3055         * stress/int32-to-string-in-loop-removed.js: Added.
3056         (test):
3057         * stress/int52-to-string-in-loop-removed.js: Added.
3058         (test):
3059
3060 2018-03-22  Michael Saboff  <msaboff@apple.com>
3061
3062         Race Condition in arrayProtoFuncReverse() causes wrong results or crash
3063         https://bugs.webkit.org/show_bug.cgi?id=183901
3064
3065         Reviewed by Keith Miller.
3066
3067         New test.
3068
3069         * stress/array-reverse-doesnt-clobber.js: Added.
3070         (testArrayReverse):
3071         (createArrayOfArrays):
3072         (createArrayStorage):
3073
3074 2018-03-21  Filip Pizlo  <fpizlo@apple.com>
3075
3076         ScopedArguments should do poisoning and index masking
3077         https://bugs.webkit.org/show_bug.cgi?id=183863
3078
3079         Reviewed by Mark Lam.
3080         
3081         Adds another stress test of scoped arguments.
3082
3083         * stress/scoped-arguments-test.js: Added.
3084         (foo):
3085
3086 2018-03-20  Saam Barati  <sbarati@apple.com>
3087
3088         We need to do proper bookkeeping of exitOK when inserting constants when sinking NewArrayBuffer
3089         https://bugs.webkit.org/show_bug.cgi?id=183795
3090         <rdar://problem/38298694>
3091
3092         Reviewed by JF Bastien.
3093
3094         * stress/sink-phantom-new-array-buffer-exit-ok.js: Added.
3095         (foo):
3096         (bar):
3097
3098 2018-03-16  Yusuke Suzuki  <utatane.tea@gmail.com>
3099
3100         [DFG][FTL] Add vectorLengthHint for NewArray
3101         https://bugs.webkit.org/show_bug.cgi?id=183694
3102
3103         Reviewed by Saam Barati.
3104
3105         * stress/vector-length-hint-array-constructor.js: Added.
3106         (shouldBe):
3107         (test):
3108         * stress/vector-length-hint-new-array.js: Added.
3109         (shouldBe):
3110         (test):
3111
3112 2018-03-13  Yusuke Suzuki  <utatane.tea@gmail.com>
3113
3114         [DFG][FTL] Make ArraySlice(0) code tight
3115         https://bugs.webkit.org/show_bug.cgi?id=183590
3116
3117         Reviewed by Saam Barati.
3118
3119         * stress/array-slice-with-zero.js: Added.
3120         (shouldBe):
3121         (test):
3122         (test2):
3123         * stress/array-slice-zero-args.js: Added.
3124         (shouldBe):
3125         (test):
3126
3127 2018-03-14  Caitlin Potter  <caitp@igalia.com>
3128
3129         [JSC] fix order of evaluation for ClassDefinitionEvaluation
3130         https://bugs.webkit.org/show_bug.cgi?id=183523
3131
3132         Reviewed by Keith Miller.
3133
3134         Computed property names need to be evaluated in source order during class
3135         definition evaluation, as it's observable (and specified to work this way).
3136
3137         This change improves compatibility with Chromium.
3138
3139         * stress/class_elements.js: Added.
3140         (test):
3141         (test.C.prototype.effect):
3142         (test.C.effect):
3143         (test.C.prototype.get effect):
3144         (test.C.prototype.set effect):
3145         (test.C):
3146
3147 2018-03-11  Yusuke Suzuki  <utatane.tea@gmail.com>
3148
3149         [DFG] AI should convert CreateThis to NewObject if the prototype object is proved
3150         https://bugs.webkit.org/show_bug.cgi?id=183310
3151
3152         Reviewed by Filip Pizlo.
3153
3154         * stress/ai-create-this-to-new-object-fire.js: Added.
3155         (assert):
3156         (test):
3157         (func):
3158         (check):
3159         (test.body.A):
3160         (test.body.B):
3161         (test.body):
3162         * stress/ai-create-this-to-new-object.js: Added.
3163         (assert):
3164         (test):
3165         (func):
3166         (check):
3167         (test.body.A):
3168         (test.body.B):
3169         (test.body):
3170
3171 2018-03-10  Yusuke Suzuki  <utatane.tea@gmail.com>
3172
3173         [FTL] Drop NewRegexp for String.prototype.match with RegExp + global flag
3174         https://bugs.webkit.org/show_bug.cgi?id=181848
3175
3176         Reviewed by Sam Weinig.
3177
3178         * microbenchmarks/regexp-u-global-es5.js: Added.
3179         (fn):
3180         * microbenchmarks/regexp-u-global-es6.js: Added.
3181         (fn):
3182         * stress/materialized-regexp-has-correct-last-index-set-by-match-at-osr-exit.js: Added.
3183         (shouldBe):
3184         (test):
3185         (i.switch):
3186         * stress/materialized-regexp-has-correct-last-index-set-by-match.js: Added.
3187         (shouldBe):
3188         (test):
3189
3190 2018-03-07  Dominik Infuehr  <dinfuehr@igalia.com>
3191
3192         Disable test stress/var-injection-cache-invalidation.js on systems with limited memory
3193         https://bugs.webkit.org/show_bug.cgi?id=183334
3194
3195         Reviewed by Žan Doberšek.
3196
3197         * stress/var-injection-cache-invalidation.js:
3198
3199 2018-03-06  Dominik Infuehr  <dinfuehr@igalia.com>
3200
3201         [ARM] Disable tests that run out of memory
3202         https://bugs.webkit.org/show_bug.cgi?id=182699
3203
3204         Reviewed by Žan Doberšek.
3205
3206         Skip tests that run of of memory. Do not run
3207         modules/module-jit-reachability.js without LLInt to prevent
3208         running out of executable memory.
3209
3210         * modules.yaml:
3211         * modules/module-jit-reachability.js:
3212         * stress/has-own-property-name-cache-string-keys.js:
3213         * stress/has-own-property-name-cache-symbol-keys.js:
3214
3215 2018-03-01  Yusuke Suzuki  <utatane.tea@gmail.com>
3216
3217         ASSERTION FAILED: matchContextualKeyword(m_vm->propertyNames->async)
3218         https://bugs.webkit.org/show_bug.cgi?id=183173
3219
3220         Reviewed by Saam Barati.
3221
3222         * stress/async-arrow-function-in-class-heritage.js: Added.
3223         (testSyntax):
3224         (testSyntaxError):
3225         (SyntaxError):
3226
3227 2018-03-01  Saam Barati  <sbarati@apple.com>
3228
3229         We need to clear cached structures when having a bad time
3230         https://bugs.webkit.org/show_bug.cgi?id=183256
3231         <rdar://problem/36245022>
3232
3233         Reviewed by Mark Lam.
3234
3235         * stress/having-a-bad-time-with-derived-arrays.js: Added.
3236         (assert):
3237         (defineSetter):
3238         (iterate):
3239         (doSlice):
3240
3241 2018-02-28  Yusuke Suzuki  <utatane.tea@gmail.com>
3242
3243         JSC crash with `import("")`
3244         https://bugs.webkit.org/show_bug.cgi?id=183175
3245
3246         Reviewed by Saam Barati.
3247
3248         * stress/import-with-empty-string.js: Added.
3249
3250 2018-02-27  Yusuke Suzuki  <utatane.tea@gmail.com>
3251
3252         Unreviewed, skip FTL tests if FTL is disabled
3253         https://bugs.webkit.org/show_bug.cgi?id=183071
3254
3255         * stress/has-indexed-property-array-storage-ftl.js:
3256         * stress/has-indexed-property-slow-put-array-storage-ftl.js:
3257
3258 2018-02-25  Yusuke Suzuki  <utatane.tea@gmail.com>
3259
3260         [FTL] Support PutByVal(ArrayStorage/SlowPutArrayStorage)
3261         https://bugs.webkit.org/show_bug.cgi?id=182965
3262
3263         Reviewed by Saam Barati.
3264
3265         * stress/put-by-val-array-storage.js: Added.
3266         (shouldBe):
3267         (testArrayStorageInBounds):
3268         * stress/put-by-val-direct-out-of-bounds-setter.js: Added.
3269         (shouldBe):
3270         (testInt32.createBuiltin):
3271         (set for):
3272         * stress/put-by-val-slow-put-array-storage.js: Added.
3273         (shouldBe):
3274         (testArrayStorageInBounds):
3275
3276 2018-02-26  Saam Barati  <sbarati@apple.com>
3277
3278         validateStackAccess should not validate if the offset is within the stack bounds
3279         https://bugs.webkit.org/show_bug.cgi?id=183067
3280         <rdar://problem/37749988>
3281
3282         Reviewed by Mark Lam.
3283
3284         * stress/dont-validate-stack-offset-in-b3-because-it-might-be-guarded-by-control-flow.js: Added.
3285         (assert):
3286         (test.a):
3287         (test.b):
3288         (test):
3289
3290 2018-02-26  Yusuke Suzuki  <utatane.tea@gmail.com>
3291
3292         Unreviewed, skip FTL tests if FTL is disabled
3293         https://bugs.webkit.org/show_bug.cgi?id=183071
3294
3295         * stress/has-indexed-property-array-storage-ftl.js:
3296         * stress/has-indexed-property-slow-put-array-storage-ftl.js:
3297
3298 2018-02-23  Saam Barati  <sbarati@apple.com>
3299
3300         Make Number.isInteger an intrinsic
3301         https://bugs.webkit.org/show_bug.cgi?id=183088
3302
3303         Reviewed by JF Bastien.
3304
3305         * stress/number-is-integer-intrinsic.js: Added.
3306
3307 2018-02-23  Oleksandr Skachkov  <gskachkov@gmail.com>
3308
3309         WebAssembly: cache memory address / size on instance
3310         https://bugs.webkit.org/show_bug.cgi?id=177305
3311
3312         Reviewed by JF Bastien.
3313
3314         * wasm/function-tests/memory-reuse.js: Added.
3315         (createWasmInstance):
3316         (doCheckTrap):
3317         (doMemoryGrow):
3318         (doCheck):
3319         (checkWasmInstancesWithSharedMemory):
3320
3321 2018-02-23  Yusuke Suzuki  <utatane.tea@gmail.com>
3322
3323         [JSC] Implement $vm.ftlTrue function for FTL testing
3324         https://bugs.webkit.org/show_bug.cgi?id=183071
3325
3326         Reviewed by Mark Lam.
3327
3328         * stress/dead-fiat-value-to-int52-then-exit-not-double.js:
3329         (foo):
3330         * stress/dead-fiat-value-to-int52-then-exit-not-int52.js:
3331         (foo):
3332         * stress/dead-fiat-value-to-int52.js:
3333         (foo):
3334         * stress/dead-osr-entry-value.js:
3335         (foo):
3336         * stress/fiat-value-to-int52-then-exit-not-double.js:
3337         (foo):
3338         * stress/fiat-value-to-int52-then-exit-not-int52.js:
3339         (foo):
3340         * stress/fiat-value-to-int52-then-fail-to-fold.js:
3341         (foo):
3342         * stress/fiat-value-to-int52-then-fold.js:
3343         (foo):
3344         * stress/fiat-value-to-int52.js:
3345         (foo):
3346         * stress/fold-based-on-int32-proof-mul-branch.js:
3347         (foo):
3348         * stress/fold-profiled-call-to-call.js:
3349         (foo):
3350         * stress/fold-to-double-constant-then-exit.js:
3351         (foo):
3352         * stress/fold-to-int52-constant-then-exit.js:
3353         (foo):
3354         * stress/fold-to-primitive-in-cfa.js:
3355         (foo):
3356         * stress/fold-to-primitive-to-identity-in-cfa.js:
3357         (foo):
3358         * stress/has-indexed-property-array-storage-ftl.js: Added.
3359         (shouldBe):
3360         (test1):
3361         (test2):
3362         * stress/has-indexed-property-slow-put-array-storage-ftl.js: Added.
3363         (shouldBe):
3364         (test1):
3365         (test2):
3366         * stress/int52-ai-add-then-filter-int32.js:
3367         (foo):
3368         * stress/int52-ai-mul-and-clean-neg-zero-then-filter-int32.js:
3369         (foo):
3370         * stress/int52-ai-mul-then-filter-int32.js:
3371         (foo):
3372         * stress/int52-ai-neg-then-filter-int32.js:
3373         (foo):
3374         * stress/int52-ai-sub-then-filter-int32.js:
3375         (foo):
3376         * stress/licm-pre-header-cannot-exit-nested.js:
3377         (foo):
3378         * stress/licm-pre-header-cannot-exit.js:
3379         (foo):
3380         * stress/sparse-array-entry-update-144067.js:
3381         (useMemoryToTriggerGCs):
3382         * stress/test-spec-misc.js:
3383         (foo):
3384         * stress/tricky-array-bounds-checks.js:
3385         (foo):
3386
3387 2018-02-22  Yusuke Suzuki  <utatane.tea@gmail.com>
3388
3389         [FTL] Support HasIndexedProperty for ArrayStorage and SlowPutArrayStorage
3390         https://bugs.webkit.org/show_bug.cgi?id=182792
3391
3392         Reviewed by Mark Lam.
3393
3394         * stress/has-indexed-property-array-storage.js: Added.
3395         (shouldBe):
3396         (test1):
3397         (test2):
3398         * stress/has-indexed-property-slow-put-array-storage.js: Added.
3399         (shouldBe):
3400         (test1):
3401         (test2):
3402
3403 2018-02-20  Saam Barati  <sbarati@apple.com>
3404
3405         DFG::VarargsForwardingPhase should eliminate getting argument length
3406         https://bugs.webkit.org/show_bug.cgi?id=182959
3407
3408         Reviewed by Keith Miller.
3409
3410         * microbenchmarks/forward-arguments-dont-escape-on-arguments-length.js: Added.
3411
3412 2018-02-14  Yusuke Suzuki  <utatane.tea@gmail.com>
3413
3414         [FTL] Support ArrayPush for ArrayStorage
3415         https://bugs.webkit.org/show_bug.cgi?id=182782
3416
3417         Reviewed by Saam Barati.
3418
3419         Existing array-push-multiple-storage.js covers ArrayPush(ArrayStorage) multiple arguments case.
3420
3421         * stress/array-push-array-storage-beyond-int32.js: Added.
3422         (shouldBe):
3423         (test):
3424         * stress/array-push-array-storage.js: Added.
3425         (shouldBe):
3426         (test):
3427         * stress/array-push-multiple-array-storage-beyond-int32.js: Added.
3428         (shouldBe):
3429         (test):
3430         * stress/array-push-multiple-storage-continuous.js: Added.
3431         (shouldBe):
3432         (test):
3433
3434 2018-02-14  Yusuke Suzuki  <utatane.tea@gmail.com>
3435
3436         [FTL] Support ArrayPop for ArrayStorage
3437         https://bugs.webkit.org/show_bug.cgi?id=182783
3438
3439         Reviewed by Saam Barati.
3440
3441         * stress/array-pop-array-storage.js: Added.
3442         (shouldBe):
3443         (test):
3444
3445 2018-02-14  Yusuke Suzuki  <utatane.tea@gmail.com>
3446
3447         [FTL] Add Arrayify for ArrayStorage and SlowPutArrayStorage
3448         https://bugs.webkit.org/show_bug.cgi?id=182731
3449
3450         Reviewed by Saam Barati.
3451
3452         * stress/arrayify-array-storage-array.js: Added.
3453         (shouldBe):
3454         (testArrayStorage):
3455         * stress/arrayify-array-storage-non-array.js: Added.
3456         (shouldBe):
3457         (testArrayStorage):
3458         * stress/arrayify-array-storage.js: Added.
3459         (shouldBe):
3460         (testArrayStorage):
3461         * stress/arrayify-slow-put-array-storage-pass-array-storage.js: Added.
3462         (shouldBe):
3463         (testArrayStorage):
3464         * stress/arrayify-slow-put-array-storage.js: Added.
3465         (shouldBe):
3466         (testArrayStorage):
3467
3468 2018-02-19  Saam Barati  <sbarati@apple.com>
3469
3470         Don't use JSFunction's allocation profile when getting the prototype can be effectful
3471         https://bugs.webkit.org/show_bug.cgi?id=182942
3472         <rdar://problem/37584764>
3473
3474         Reviewed by Mark Lam.
3475
3476         * stress/get-prototype-create-this-effectful.js: Added.
3477
3478 2018-02-16  Saam Barati  <sbarati@apple.com>
3479
3480         Fix bugs from r228411
3481         https://bugs.webkit.org/show_bug.cgi?id=182851
3482         <rdar://problem/37577732>
3483
3484         Reviewed by JF Bastien.
3485
3486         * stress/constant-folding-phase-insert-check-handle-varargs.js: Added.
3487
3488 2018-02-15  Filip Pizlo  <fpizlo@apple.com>
3489
3490         Unreviewed, roll out r228366 since it did not progress anything.
3491
3492         * stress/gc-error-stack.js: Removed.
3493         * stress/no-gc-error-stack.js: Removed.
3494
3495 2018-02-15  Tomas Popela  <tpopela@redhat.com>
3496
3497         Many stress tests fail with JIT disabled
3498         https://bugs.webkit.org/show_bug.cgi?id=182730
3499
3500         Reviewed by Saam Barati.
3501
3502         These tests are broken by design if the JIT is disabled - they test
3503         the return value of numberOfDFGCompiles(), which is always set to
3504         1000000.0 in TestRunnerUtils.cpp and makes the tests to fail.
3505
3506         * stress/arith-abs-on-various-types.js:
3507         * stress/arith-abs-to-arith-negate-range-optimizaton.js:
3508         * stress/arith-acos-on-various-types.js:
3509         * stress/arith-acosh-on-various-types.js:
3510         * stress/arith-asin-on-various-types.js:
3511         * stress/arith-asinh-on-various-types.js:
3512         * stress/arith-atan-on-various-types.js:
3513         * stress/arith-atanh-on-various-types.js:
3514         * stress/arith-cbrt-on-various-types.js:
3515         * stress/arith-ceil-on-various-types.js:
3516         * stress/arith-clz32-on-various-types.js:
3517         * stress/arith-cos-on-various-types.js:
3518         * stress/arith-cosh-on-various-types.js:
3519         * stress/arith-expm1-on-various-types.js:
3520         * stress/arith-floor-on-various-types.js:
3521         * stress/arith-fround-on-various-types.js:
3522         * stress/arith-log-on-various-types.js:
3523         * stress/arith-log10-on-various-types.js:
3524         * stress/arith-log2-on-various-types.js:
3525         * stress/arith-negate-on-various-types.js:
3526         * stress/arith-round-on-various-types.js:
3527         * stress/arith-sin-on-various-types.js:
3528         * stress/arith-sinh-on-various-types.js:
3529         * stress/arith-sqrt-on-various-types.js:
3530         * stress/arith-tan-on-various-types.js:
3531         * stress/arith-tanh-on-various-types.js:
3532         * stress/arith-trunc-on-various-types.js:
3533         * stress/compare-strict-eq-on-various-types.js:
3534
3535 2018-02-14  Ryan Haddad  <ryanhaddad@apple.com>
3536
3537         Skip stress/new-largeish-contiguous-array-with-size.js on arm.
3538
3539         Unreviewed test gardening.
3540
3541         * stress/new-largeish-contiguous-array-with-size.js:
3542
3543 2018-02-14  Saam Barati  <sbarati@apple.com>
3544
3545         Setting a VMTrap shouldn't look at topCallFrame since that may imply we're in C code and holding the malloc lock
3546         https://bugs.webkit.org/show_bug.cgi?id=182801
3547
3548         Reviewed by Keith Miller.
3549
3550         * stress/watchdog-dont-malloc-when-in-c-code.js: Added.
3551
3552 2018-02-14  Ryan Haddad  <ryanhaddad@apple.com>
3553
3554         Skip JSC test stress/activation-sink-default-value-tdz-error.js on debug.
3555         https://bugs.webkit.org/show_bug.cgi?id=182526
3556
3557         Unreviewed test gardening.
3558
3559         * stress/activation-sink-default-value-tdz-error.js:
3560
3561 2018-02-13  Saam Barati  <sbarati@apple.com>
3562
3563         putDirectIndexSlowOrBeyondVectorLength needs to convert to dictionary indexing mode always if attributes are present
3564         https://bugs.webkit.org/show_bug.cgi?id=182755
3565         <rdar://problem/37080864>
3566
3567         Reviewed by Keith Miller.
3568
3569         * stress/always-enter-dictionary-indexing-mode-with-getter.js: Added.
3570         (test1.o.get 10005):
3571         (test1):
3572         (test2.o.get 1000):
3573         (test2):
3574
3575 2018-02-13  Caitlin Potter  <caitp@igalia.com>
3576
3577         [JSC] cache TaggedTemplate arrays by callsite rather than by contents
3578         https://bugs.webkit.org/show_bug.cgi?id=182717
3579
3580         Reviewed by Yusuke Suzuki.
3581