This repository was archived by the owner on Jun 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathChangeLog
19375 lines (14500 loc) · 748 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2020-10-28 Saam Barati <sbarati@apple.com>
Better cache our serialization of the outer TDZ environment when creating FunctionExecutables during bytecode generation
https://bugs.webkit.org/show_bug.cgi?id=199866
<rdar://problem/53333108>
Reviewed by Tadeu Zagallo.
* microbenchmarks/let-const-tdz-environment-parsing-and-hash-consing-speed.js: Added.
2020-10-28 Robin Morisset <rmorisset@apple.com>
DFGIntegerRangeOptimization is wrong for Upsilon (as 'shadow' nodes are not in SSA form)
https://bugs.webkit.org/show_bug.cgi?id=218073
Reviewed by Saam Barati.
The only testcase I managed to get for this bug loops forever when not crashing.
So I use a 1s timeout through --watchdog=1000.
* stress/bounds-checking-in-cold-loop.js: Added.
(true.vm.ftlTrue):
2020-10-24 Yusuke Suzuki <ysuzuki@apple.com>
[ECMA-402] Implement Intl.ListFormat
https://bugs.webkit.org/show_bug.cgi?id=209775
Reviewed by Ross Kirsling.
* stress/intl-listformat.js: Added.
(shouldBe):
(shouldNotThrow):
(shouldThrow):
(test.DerivedListFormat):
(test.get shouldThrow):
(test):
2020-10-24 Caio Lima <ticaiolima@gmail.com>
[EWS][ARMv7] Flaky test stress/json-stringify-stack-overflow.js
https://bugs.webkit.org/show_bug.cgi?id=218129
Unreviewed test gardening.
* stress/json-stringify-stack-overflow.js:
2020-10-21 Caitlin Potter <caitp@igalia.com>
[JSC] support op_get_private_name in DFG and FTL
https://bugs.webkit.org/show_bug.cgi?id=214861
Reviewed by Filip Pizlo.
* microbenchmarks/class-fields-private/monomorphic-get-private-field.js: Added.
* microbenchmarks/class-fields-private/polymorphic-get-private-field.js: Added.
* stress/dfg-get-private-name-by-id-generic.js: Added.
* stress/dfg-get-private-name-by-id-osr-bad-identifier.js: Added.
* stress/dfg-get-private-name-by-id.js: Added.
* stress/dfg-get-private-name-by-offset-osr-bad-identifier.js: Added.
* stress/dfg-get-private-name-by-offset-osr-bad-structure.js: Added.
* stress/dfg-get-private-name-by-offset.js: Added.
* stress/dfg-get-private-name-by-val-generic.js: Added.
* stress/ftl-get-private-name-by-id.js: Added.
* stress/ftl-get-private-name-by-offset-multi.js: Added.
* stress/get-private-name-with-constant-ident.js: Added.
* stress/get-private-name-with-constant-symbol.js: Added.
* stress/get-private-name-with-different-symbol.js: Added.
2020-10-20 Saam Barati <sbarati@apple.com>
Don't OSR exit to bc#0 for FTL argument type checks during loop OSR entry
https://bugs.webkit.org/show_bug.cgi?id=217925
<rdar://problem/70369407>
Reviewed by Michael Saboff and Tadeu Zagallo.
* stress/ftl-osr-entry-should-not-exit-to-bc-zero.js: Added.
2020-10-20 Michael Saboff <msaboff@apple.com>
[JSC] Update RegExp UCD to version 13.0
https://bugs.webkit.org/show_bug.cgi?id=217975
Reviewed by Yusuke Suzuki.
Updated test expectations for tests that now pass based on the updating to UCD 13.0.
* test262/expectations.yaml:
2020-10-20 Ross Kirsling <ross.kirsling@sony.com>
[JSC] Rename item() to at() and move it behind a flag
https://bugs.webkit.org/show_bug.cgi?id=217942
Reviewed by Yusuke Suzuki.
* stress/at-method.js: Renamed from JSTests/stress/item-method.js.
* test262/config.yaml: Add skips until the feature is renamed.
2020-10-19 Alexey Shvayka <shvaikalesh@gmail.com>
[WebIDL] %Interface%.prototype.constructor should be defined on [[Set]] receiver
https://bugs.webkit.org/show_bug.cgi?id=216533
Reviewed by Darin Adler.
* stress/custom-get-set-proto-chain-put.js: Added.
2020-10-19 Mark Cohen <m@mpc.sh>
test262: test/language/expressions/conditional/in-branch-1.js
https://bugs.webkit.org/show_bug.cgi?id=217879
Reviewed by Darin Adler.
I fixed this test262 failure - see the JSC ChangeLog for more details.
All I've done in this directory is remove the expected failure from
test262/expectations.yaml.
* test262/expectations.yaml:
2020-10-18 Caio Lima <ticaiolima@gmail.com>
[ESNext][JIT] Add support for UntypedUse on PutPrivateName's base operand
https://bugs.webkit.org/show_bug.cgi?id=217373
Reviewed by Yusuke Suzuki.
* stress/get-private-name-with-primitive.js: Added.
* stress/put-private-name-untyped-use.js: Added.
* stress/put-private-name-with-primitive.js: Added.
2020-10-17 Ross Kirsling <ross.kirsling@sony.com>
Ensure %TypedArray% essential internal methods adhere to spec
https://bugs.webkit.org/show_bug.cgi?id=217854
Reviewed by Yusuke Suzuki.
* stress/array-prototype-splice-making-typed-array.js:
* stress/array-species-config-array-constructor.js:
* stress/delete-property-dfg-inline.js:
* stress/float32array-out-of-bounds.js:
* stress/put-direct-index-broken-2.js:
* stress/typedarray-access-monomorphic-neutered.js:
* stress/typedarray-access-neutered.js:
* stress/typedarray-configure-index.js:
* stress/typedarray-functions-with-neutered.js:
* stress/typedarray-getownproperty.js: Renamed from JSTests/stress/typedarray-getownproperty-not-configurable.js.
* stress/typed-array-canonical-numeric-index-string.js:
Adjust tests.
* test262/expectations.yaml:
Address all test failures under built-ins/TypedArrayConstructors/internals.
Note that there are a slew of corrections needed for these test cases,
which were discovered in the course of working on this patch:
https://github.com/tc39/test262/pull/2833#issuecomment-709635850
Accordingly, these remaining lines should all disappear in the future.
2020-10-16 Saam Barati <sbarati@apple.com>
Don't emit OpSpread with a constant as the destination
https://bugs.webkit.org/show_bug.cgi?id=217800
<rdar://problem/69492311>
Reviewed by Yusuke Suzuki.
* stress/spread-should-not-have-a-constant-as-dst.js: Added.
(foo):
(bar):
2020-10-15 Saam Barati <sbarati@apple.com>
Don't assign a bogus register to Load/ForwardVarargs in AvailabilityAnalysis before stack layout
https://bugs.webkit.org/show_bug.cgi?id=217789
<rdar://problem/69285703>
Reviewed by Keith Miller.
* stress/dont-assign-bogus-virtual-register-in-availability-analysis-before-stack-layout-runs.js: Added.
(bar):
(foo):
2020-10-15 Alexey Shvayka <shvaikalesh@gmail.com>
REGRESSION (r268489): test/built-ins/Object/entries/order-after-define-property.js failing on test262 bots
https://bugs.webkit.org/show_bug.cgi?id=217738
Reviewed by Yusuke Suzuki.
* stress/object-entries.js:
2020-10-14 Ross Kirsling <ross.kirsling@sony.com>
Update test262 (2020.10.14)
https://bugs.webkit.org/show_bug.cgi?id=217736
Reviewed by Yusuke Suzuki.
* test262/config.yaml:
* test262/expectations.yaml:
* test262/harness/:
* test262/latest-changes-summary.txt:
* test262/test/:
* test262/test262-Revision.txt:
2020-10-14 Alexey Shvayka <shvaikalesh@gmail.com>
Use @putByValDirect instead of Array.prototype.@push in built-ins
https://bugs.webkit.org/show_bug.cgi?id=175432
Reviewed by Yusuke Suzuki.
* stress/array-push-intrinsic.js: Added.
* test262/expectations.yaml: Mark 2 test cases as passing.
2020-10-13 Saam Barati <sbarati@apple.com>
JSObject::getPropertyNames should have a stack overflow check
https://bugs.webkit.org/show_bug.cgi?id=217677
<rdar://problem/69286436>
Reviewed by Tadeu Zagallo.
* stress/get-property-names-stack-overflow.js: Added.
2020-10-12 Saam Barati <sbarati@apple.com>
Array.prototype.sort's sortBucketSort accesses an array in an invalid way that can lead to incorrect results with indexed properties on the prototype chain
https://bugs.webkit.org/show_bug.cgi?id=217634
<rdar://problem/69489404>
Reviewed by Yusuke Suzuki.
* stress/sort-should-not-look-up-prototype-properties.js: Added.
(assert):
2020-10-11 Yusuke Suzuki <ysuzuki@apple.com>
OpToPropertyKey only accepts temporary for destination
https://bugs.webkit.org/show_bug.cgi?id=217471
Reviewed by Saam Barati.
* stress/spread-to-property-key-constant.js: Added.
2020-10-11 Yusuke Suzuki <ysuzuki@apple.com>
[JSC] arguments.callee should become ThrowTypeError if function has non simple parameter list
https://bugs.webkit.org/show_bug.cgi?id=217574
Reviewed by Darin Adler.
* stress/arguments-and-non-simple-parameters.js: Added.
(shouldBe):
(ThrowTypeError.Object.getOwnPropertyDescriptor):
(testUnmappedArguments):
(testMappedArguments):
(argumentGenerator2.inner):
(argumentGenerator2):
(argumentGenerator3.inner):
(argumentGenerator3):
(argumentGenerator4):
(argumentGenerator5.inner.inner2):
(argumentGenerator5.inner):
(argumentGenerator5):
(argumentGenerator6):
(argumentGenerator7.inner):
(argumentGenerator7):
(argumentGenerator8.inner):
(argumentGenerator8):
(argumentGenerator9.inner):
(argumentGenerator9):
(argumentGenerator10.inner.inner2):
(argumentGenerator10.inner):
(argumentGenerator10):
* test262/expectations.yaml:
2020-10-11 Yusuke Suzuki <ysuzuki@apple.com>
[JSC] BigInt constructor should be constructible while it always throws an error
https://bugs.webkit.org/show_bug.cgi?id=217575
Reviewed by Darin Adler.
* stress/is-constructor.js:
* stress/non-constructable-constructors.js: Added.
(shouldThrow):
2020-10-11 Yusuke Suzuki <ysuzuki@apple.com>
[JSC] LowerCase when LanguageTag checks duplicate variants
https://bugs.webkit.org/show_bug.cgi?id=217571
Reviewed by Ross Kirsling.
* stress/intl-language-tag.js:
2020-10-07 Ross Kirsling <ross.kirsling@sony.com>
[JSC] Revert String.prototype.item
https://bugs.webkit.org/show_bug.cgi?id=217449
Reviewed by Yusuke Suzuki.
* stress/item-method.js:
* test262/config.yaml:
2020-10-07 Caio Lima <ticaiolima@gmail.com>
[MIPS] Flaky test stress/array-species-create-should-handle-masquerader.js
https://bugs.webkit.org/show_bug.cgi?id=217433
Unreviewed test gardening.
* stress/array-species-create-should-handle-masquerader.js:
2020-10-05 Ross Kirsling <ross.kirsling@sony.com>
%TypedArray%.from must do mapping and putting in lockstep
https://bugs.webkit.org/show_bug.cgi?id=217349
Reviewed by Yusuke Suzuki.
* test262/expectations.yaml:
Mark two test cases as passing.
2020-10-02 Ross Kirsling <ross.kirsling@sony.com>
[JSC] Add Array#item to @@unscopables
https://bugs.webkit.org/show_bug.cgi?id=217243
Reviewed by Yusuke Suzuki.
* stress/unscopables.js:
Update test.
2020-09-30 Ross Kirsling <ross.kirsling@sony.com>
[JSC] Implement item method proposal
https://bugs.webkit.org/show_bug.cgi?id=217115
Reviewed by Yusuke Suzuki.
* stress/item-method.js: Added.
* test262/config.yaml: Unskip tests.
2020-09-29 Ross Kirsling <ross.kirsling@sony.com>
Update test262 (2020.09.29)
https://bugs.webkit.org/show_bug.cgi?id=217102
Reviewed by Darin Adler.
* .gitattributes:
* test262/config.yaml:
* test262/expectations.yaml:
* test262/latest-changes-summary.txt:
* test262/test/:
* test262/test262-Revision.txt:
2020-09-25 Ross Kirsling <ross.kirsling@sony.com>
%TypedArray%.{from, of} no longer perform AllocateTypedArray
https://bugs.webkit.org/show_bug.cgi?id=216991
Reviewed by Yusuke Suzuki.
* stress/typedarray-of.js:
Fix test.
* test262/expectations.yaml:
Mark twelve test cases as passing.
2020-09-25 Alexey Shvayka <shvaikalesh@gmail.com>
DataView instances should not have own "byteLength" and "byteOffset" properties
https://bugs.webkit.org/show_bug.cgi?id=149906
Reviewed by Ross Kirsling.
* stress/dataview-no-own-properties.js: Added.
2020-09-25 Alexey Shvayka <shvaikalesh@gmail.com>
REGRESSION (r267514): mozilla-tests.yaml/js1_5/Array/regress-157652.js.mozilla* timing out
https://bugs.webkit.org/show_bug.cgi?id=216955
Unreviewed test gardening: skip mozilla/regress-157652.js in --debug.
r267514 removed special handling of sparse arrays, causing the timeout.
* mozilla/mozilla-tests.yaml:
2020-09-24 Ross Kirsling <ross.kirsling@sony.com>
%TypedArray%.prototype.toLocaleString must make conscious use of @toString
https://bugs.webkit.org/show_bug.cgi?id=216956
Reviewed by Yusuke Suzuki.
* test262/expectations.yaml:
Mark four test cases as passing.
2020-09-24 Ross Kirsling <ross.kirsling@sony.com>
%TypedArray%.prototype.sort must throw if comparator is defined and uncallable
https://bugs.webkit.org/show_bug.cgi?id=216952
Reviewed by Yusuke Suzuki.
* stress/typedarray-sort.js:
Fix test.
* test262/expectations.yaml:
Mark two test cases as passing.
2020-09-24 Ross Kirsling <ross.kirsling@sony.com>
%TypedArray%.prototype.{map, filter} should perform TypedArraySpeciesCreate correctly
https://bugs.webkit.org/show_bug.cgi?id=216938
Reviewed by Yusuke Suzuki.
* stress/typedarray-slice.js:
Fix test.
* test262/expectations.yaml:
Mark ten test cases as passing.
2020-09-24 Ross Kirsling <ross.kirsling@sony.com>
%TypedArray%.prototype.fill must only evaluate its argument once
https://bugs.webkit.org/show_bug.cgi?id=216912
Reviewed by Yusuke Suzuki.
* stress/typedarray-fill.js:
Fix test.
* test262/expectations.yaml:
Mark two test cases as passing.
2020-09-23 Ross Kirsling <ross.kirsling@sony.com>
%ArrayIteratorPrototype%.next must check for detached buffers
https://bugs.webkit.org/show_bug.cgi?id=216904
Reviewed by Yusuke Suzuki.
* stress/detach-buffer-during-iteration.js: Added.
* test262/expectations.yaml:
Mark two test cases as passing.
2020-09-23 Alexey Shvayka <shvaikalesh@gmail.com>
Update Array.prototype.sort to be consistent with tightened spec
https://bugs.webkit.org/show_bug.cgi?id=202582
Reviewed by Yusuke Suzuki and Keith Miller.
Provided microbenchmarks test receivers that are half-sorted: 50% of their
items and item pairs (to accomodate merge sort) are at the right place.
Arrays of multiple sizes (8/24/64 items) are tested with both userland
and default comparator (to cover bucket sort).
* ChakraCore/test/Array/array_sort.baseline-jsc: Fix typo in error message.
* microbenchmarks/array-prototype-sort-large-array-comparator.js: Added.
* microbenchmarks/array-prototype-sort-large-array.js: Added.
* microbenchmarks/array-prototype-sort-medium-array-comparator.js: Added.
* microbenchmarks/array-prototype-sort-medium-array.js: Added.
* microbenchmarks/array-prototype-sort-small-array-comparator.js: Added.
* microbenchmarks/array-prototype-sort-small-array.js: Added.
* mozilla/js1_5/Array/regress-157652.js: Skip sorting sparse array of UINT_MAX size.
* stress/regress-188577.js: Replace sort() with unshift() and refactor.
2020-09-23 Yusuke Suzuki <ysuzuki@apple.com>
[JSC] Intl spec update: handle awkward rounding behavior
https://bugs.webkit.org/show_bug.cgi?id=216760
Reviewed by Ross Kirsling.
* stress/intl-numberformat.js:
* test262/expectations.yaml:
2020-09-23 Caio Lima <ticaiolima@gmail.com>
[JSC][ESNext] Create a new opcode to handle private fields store/define
https://bugs.webkit.org/show_bug.cgi?id=213372
Reviewed by Yusuke Suzuki.
Adjusting tests that emit `get_private_name` to avoid execution in
FTL/DFG.
* microbenchmarks/class-fields-private/polymorphic-put-private-field.js: Added.
* microbenchmarks/class-fields-private/put-private-field.js: Added.
* microbenchmarks/polymorphic-put-public-field.js: Added.
* microbenchmarks/put-public-field.js: Added.
* stress/dfg-put-private-name-check-barrier-insertion.js: Added.
* stress/dfg-put-private-name-compiled-as-put-by-id-direct.js: Added.
* stress/dfg-put-private-name-compiled-as-put-private-name-by-id.js: Added.
* stress/put-private-name-by-id-set-do-not-add-structure-trasition.js: Added.
* stress/put-private-name-check-structure-miss.js: Added.
* stress/put-private-name-constant-folding-to-mult-put-by-offset.js: Added.
* stress/put-private-name-constant-folding-to-put-by-offset.js: Added.
* stress/put-private-name-generic.js: Added.
* stress/put-private-name-invalid-define.js: Added.
* stress/put-private-name-invalid-store.js: Added.
* stress/put-private-name-invalidate-compiled-with-constant-symbol.js: Added.
* stress/put-private-name-polymorphic-with-constant-symbol.js: Added.
* stress/put-private-name-with-constant-symbol.js: Added.
* stress/put-private-name-with-different-identifier.js: Added.
2020-09-22 Yusuke Suzuki <ysuzuki@apple.com>
[JSC] Enable Intl.DateTimeFormat dayPeriod
https://bugs.webkit.org/show_bug.cgi?id=216845
Reviewed by Mark Lam.
* stress/intl-datetimeformat.js:
2020-09-22 HyeockJin Kim <kherootz@gmail.com>
Coerce computed property before adding to |excludedList|
https://bugs.webkit.org/show_bug.cgi?id=216437
Reviewed by Yusuke Suzuki.
* stress/object-rest-deconstruct.js:
(get 3):
2020-09-21 Yusuke Suzuki <ysuzuki@apple.com>
[JSC] BigInt should work with Map / Set
https://bugs.webkit.org/show_bug.cgi?id=216667
<rdar://problem/69107221>
Reviewed by Robin Morisset.
* stress/bigint-and-map-set.js: Added.
(shouldBe):
(opaque1n):
(testMap):
(let.set new):
* stress/bigint-string-map-set.js: Added.
(shouldBe):
(testMap):
* stress/bigint32-map-set.js: Added.
(shouldBe):
(testMap):
2020-09-21 Yusuke Suzuki <ysuzuki@apple.com>
[JSC] Proxy should be trapped if base value is primitive
https://bugs.webkit.org/show_bug.cgi?id=216764
Reviewed by Darin Adler.
* stress/proxy-trap-in-primitive.js: Added.
(shouldBe):
* test262/expectations.yaml:
2020-09-20 Yusuke Suzuki <ysuzuki@apple.com>
Test262 update
https://bugs.webkit.org/show_bug.cgi?id=216753
Reviewed by Darin Adler.
2020-09-20 Yusuke Suzuki <ysuzuki@apple.com>
[JSC] Drop Options::useBigInt
https://bugs.webkit.org/show_bug.cgi?id=216743
Reviewed by Darin Adler.
* bigIntTests.yaml: Removed.
* stress/big-int-add-wrapped-value.js:
* stress/big-int-addition-basic.js:
* stress/big-int-addition-jit.js:
* stress/big-int-addition-memory-stress.js:
* stress/big-int-addition-string-coercion.js:
* stress/big-int-addition-to-primitive-precedence.js:
* stress/big-int-addition-to-primitive.js:
* stress/big-int-addition-type-error.js:
* stress/big-int-arithmetic-return-big-int.js:
* stress/big-int-as-key.js:
* stress/big-int-as-property-name.js:
* stress/big-int-bit-not-general.js:
* stress/big-int-bitwise-and-general.js:
* stress/big-int-bitwise-and-jit.js:
* stress/big-int-bitwise-and-memory-stress.js:
* stress/big-int-bitwise-and-to-primitive-precedence.js:
* stress/big-int-bitwise-and-type-error.js:
* stress/big-int-bitwise-and-wrapped-value.js:
* stress/big-int-bitwise-not-jit.js:
* stress/big-int-bitwise-not-wrapped-value.js:
* stress/big-int-bitwise-or-general.js:
* stress/big-int-bitwise-or-jit-untyped.js:
* stress/big-int-bitwise-or-jit.js:
* stress/big-int-bitwise-or-memory-stress.js:
* stress/big-int-bitwise-or-to-primitive-precedence.js:
* stress/big-int-bitwise-or-type-error.js:
* stress/big-int-bitwise-or-wrapped-value.js:
* stress/big-int-bitwise-xor-general.js:
* stress/big-int-bitwise-xor-jit.js:
* stress/big-int-bitwise-xor-memory-stress.js:
* stress/big-int-bitwise-xor-to-primitive-precedence.js:
* stress/big-int-bitwise-xor-type-error.js:
* stress/big-int-bitwise-xor-untyped.js:
* stress/big-int-bitwise-xor-wrapped-value.js:
* stress/big-int-boolean-proven-type.js:
* stress/big-int-branch-usage.js:
* stress/big-int-constructor-gc.js:
* stress/big-int-constructor-oom.js:
* stress/big-int-constructor-properties.js:
* stress/big-int-constructor-prototype-prop-descriptor.js:
* stress/big-int-constructor-prototype.js:
* stress/big-int-constructor.js:
* stress/big-int-div-jit-osr.js:
* stress/big-int-div-jit-untyped.js:
* stress/big-int-div-jit.js:
* stress/big-int-div-memory-stress.js:
* stress/big-int-div-to-primitive.js:
* stress/big-int-div-type-error.js:
* stress/big-int-div-wrapped-value.js:
* stress/big-int-division.js:
* stress/big-int-equals-basic.js:
* stress/big-int-equals-to-primitive-precedence.js:
* stress/big-int-equals-wrapped-value.js:
* stress/big-int-exp-basic.js:
* stress/big-int-exp-jit-osr.js:
* stress/big-int-exp-jit-untyped.js:
* stress/big-int-exp-jit.js:
* stress/big-int-exp-negative-exponent.js:
* stress/big-int-exp-to-primitive.js:
* stress/big-int-exp-type-error.js:
* stress/big-int-exp-wrapped-value.js:
* stress/big-int-function-apply.js:
* stress/big-int-greater-than-general.js:
* stress/big-int-greater-than-jit.js:
* stress/big-int-greater-than-or-equal-jit.js:
* stress/big-int-greater-than-or-equal-order-of-evaluation.js:
* stress/big-int-greater-than-or-equal-wrapped-values.js:
* stress/big-int-greater-than-or-equal.js:
* stress/big-int-greater-than-order-of-evaluation.js:
* stress/big-int-greater-than-wrapped-values.js:
* stress/big-int-json-stringify-to-json.js:
* stress/big-int-json-stringify.js:
* stress/big-int-left-shift-general.js:
* stress/big-int-left-shift-range-error.js:
* stress/big-int-left-shift-type-error.js:
* stress/big-int-left-shift-untyped.js:
* stress/big-int-left-shift-wrapped-value.js:
* stress/big-int-length.js:
* stress/big-int-less-than-general.js:
* stress/big-int-less-than-jit.js:
* stress/big-int-less-than-or-equal-general.js:
* stress/big-int-less-than-or-equal-jit.js:
* stress/big-int-less-than-or-equal-order-of-evaluation.js:
* stress/big-int-less-than-or-equal-wrapped-values.js:
* stress/big-int-less-than-order-of-evaluation.js:
* stress/big-int-less-than-wrapped-values.js:
* stress/big-int-literal-inside-literal-object.js:
* stress/big-int-literal-line-terminator.js:
* stress/big-int-literals.js:
* stress/big-int-logical-and.js:
* stress/big-int-logical-not.js:
* stress/big-int-logical-or.js:
* stress/big-int-mod-jit.js:
* stress/big-int-mod-memory-stress.js:
* stress/big-int-mod-osr.js:
* stress/big-int-mod-to-primitive-precedence.js:
* stress/big-int-mod-to-primitive.js:
* stress/big-int-mod-type-error.js:
* stress/big-int-mod-wrapped-value.js:
* stress/big-int-mod.js:
* stress/big-int-mul-jit-osr.js:
* stress/big-int-mul-jit-untyped.js:
* stress/big-int-mul-jit.js:
* stress/big-int-mul-to-primitive-precedence.js:
* stress/big-int-mul-to-primitive.js:
* stress/big-int-mul-type-error.js:
* stress/big-int-mul-wrapped-value.js:
* stress/big-int-multiplication.js:
* stress/big-int-multiply-memory-stress.js:
* stress/big-int-negate-basic.js:
* stress/big-int-no-conversion-to-number.js:
* stress/big-int-operations-error.js:
* stress/big-int-out-of-memory-tests.js:
* stress/big-int-prop-descriptor.js:
* stress/big-int-proto-constructor.js:
* stress/big-int-proto-name.js:
* stress/big-int-prototype-properties.js:
* stress/big-int-prototype-proto.js:
* stress/big-int-prototype-symbol-to-string-tag.js:
* stress/big-int-prototype-to-string-apply.js:
* stress/big-int-prototype-to-string-cast-overflow.js:
* stress/big-int-prototype-to-string-exception.js:
* stress/big-int-prototype-to-string-wrong-values.js:
* stress/big-int-prototype-value-of.js:
* stress/big-int-right-shift-general.js:
* stress/big-int-right-shift-jit-osr.js:
* stress/big-int-right-shift-jit-untyped.js:
* stress/big-int-right-shift-jit.js:
* stress/big-int-right-shift-type-error.js:
* stress/big-int-right-shift-wrapped-value.js:
* stress/big-int-spec-to-primitive.js:
* stress/big-int-spec-to-this.js:
* stress/big-int-strict-equals-jit.js:
* stress/big-int-strict-spec-to-this.js:
* stress/big-int-sub-wrapped-value.js:
* stress/big-int-subtraction-basic.js:
* stress/big-int-subtraction-jit.js:
* stress/big-int-subtraction-type-error.js:
* stress/big-int-to-object.js:
* stress/big-int-to-string.js:
* stress/big-int-type-of-proven-type-non-constant-including-symbol.js:
* stress/big-int-type-of-proven-type-non-constant.js:
* stress/big-int-type-of-proven-type.js:
* stress/big-int-type-of.js:
* stress/big-int-unary-plus.js:
* stress/big-int-value-op-update-gc-rules.js:
* stress/big-int-white-space-trailing-leading.js:
* stress/bigint-toLocaleString.js:
* stress/bitwise-not-fixup-rules.js:
* stress/delete-property-inline-cache.js:
* stress/inc-osr-exit-from-big-int.js:
* stress/inc-osr-exit-to-big-int.js:
* stress/left-shift-to-primitive-precedence.js:
* stress/numeric-literal-separators.js:
* stress/object-create-non-object-properties-parameter.js:
* stress/proxy-call-apply-handler-to-this.js:
* stress/right-shift-to-primitive-precedence.js:
* stress/value-add-big-int-and-string.js:
* stress/value-add-big-int-prediction-propagation.js:
* stress/value-add-big-int-untyped.js:
* stress/value-bit-and-ai-rule.js:
* stress/value-bit-lshift-ai-rule.js:
* stress/value-bit-not-ai-rule.js:
* stress/value-bit-or-ai-rule.js:
* stress/value-bit-xor-ai-rule.js:
* stress/value-div-fixup-int32-big-int.js:
* stress/value-mul-fixup-int32-big-int.js:
* stress/value-sub-big-int-prediction-propagation.js:
* stress/value-sub-big-int-untyped.js:
* test262/config.yaml:
2020-09-18 Yusuke Suzuki <ysuzuki@apple.com>
[JSC] Generator declaration should not be allowed in single statement context
https://bugs.webkit.org/show_bug.cgi?id=216720
Reviewed by Ross Kirsling.
* stress/generator-syntax.js:
(testSyntaxError.gen):
* test262/expectations.yaml:
2020-09-18 Caio Lima <ticaiolima@gmail.com>
[ARMv7][MIPS] Test gaderning September version
https://bugs.webkit.org/show_bug.cgi?id=216699
Unreviewed test gardening.
* stress/array-species-create-should-handle-masquerader.js:
* stress/compare-eq-should-use-known-other-use.js:
* stress/ftl-reflect-get-prototype-of.js:
* stress/typedarray-access-neutered.js:
2020-09-18 Keith Miller <keith_miller@apple.com>
DFG should ensure there are PhantomLocals for the taken block of op_jneq_ptr
https://bugs.webkit.org/show_bug.cgi?id=216669
Reviewed by Saam Barati.
* stress/jneq-ptr-opcode-variable-only-live-on-taken-branch.js: Added.
(bar):
(foo):
2020-09-17 Tadeu Zagallo <tzagallo@apple.com>
Inconsistent loop exit assertion in B3ReduceLoopStrength
https://bugs.webkit.org/show_bug.cgi?id=216274
<rdar://problem/68513573>
Reviewed by Keith Miller.
* stress/reduce-loop-strength-multiple-exits.js: Added.
(build_array):
(main):
2020-09-17 Yusuke Suzuki <ysuzuki@apple.com>
[JSC] Async generator default-export is not handled
https://bugs.webkit.org/show_bug.cgi?id=216643
Reviewed by Ross Kirsling.
* modules/async-generator-default.js: Added.
(from.string_appeared_here.import.test.from.string_appeared_here.async test2):
* modules/async-generator-default/module.js: Added.
(export.default.async test):
* test262/expectations.yaml:
2020-09-17 Yusuke Suzuki <ysuzuki@apple.com>
[JSC] Update JSModuleNamespaceObject::defineOwnProperty
https://bugs.webkit.org/show_bug.cgi?id=216640
Reviewed by Ross Kirsling.
* modules/module-namespace-object-define-own-property.js: Added.
(from.string_appeared_here.import.as.ns.from.string_appeared_here.shouldThrow):
(shouldThrow):
(shouldThrow.):
(get TypeError):
* modules/module-namespace-object-define-own-property/module.js: Added.
* test262/expectations.yaml:
2020-09-17 Yusuke Suzuki <ysuzuki@apple.com>
Support export namespace `export * as ns`
https://bugs.webkit.org/show_bug.cgi?id=214379
Reviewed by Ross Kirsling.
* stress/modules-syntax-error.js:
* stress/modules-syntax.js:
* test262/expectations.yaml:
2020-09-16 Saam Barati <sbarati@apple.com>
Don't IC a null custom accessor/value setter
https://bugs.webkit.org/show_bug.cgi?id=216620
<rdar://problem/68976066>
Reviewed by Mark Lam.
* stress/dont-ic-null-custom-setter.js: Added.
2020-09-15 Saam Barati <sbarati@apple.com>
JSImmutableButterfly::get needs to return jsDoubleNumber for double arrays
https://bugs.webkit.org/show_bug.cgi?id=216589
<rdar://problem/68061245>
Reviewed by Yusuke Suzuki.
* stress/jsimmutablebutterfly-get-must-return-double-boxed-value.js: Added.
2020-09-15 Yusuke Suzuki <ysuzuki@apple.com>
[JSC] Cache UDateTimePatternGenerator
https://bugs.webkit.org/show_bug.cgi?id=213454
Reviewed by Ross Kirsling.
* microbenchmarks/date-to-locale-date-string.js: Added.
* microbenchmarks/date-to-locale-string.js: Added.
* microbenchmarks/date-to-locale-time-string.js: Added.
2020-09-15 HyeockJin Kim <kherootz@gmail.com>
Check whether the iterator is callable in spread
https://bugs.webkit.org/show_bug.cgi?id=215974
Reviewed by Darin Adler.
* stress/spread-array-iterator.js: Added.
(shouldThrowTypeError):
(shouldThrowExactly):
(f):
(C):
2020-09-15 Yusuke Suzuki <ysuzuki@apple.com>
Unreviewed, skip construct-return-early-from-infinite-loop-for-fuzzer.js when JIT is disabled
https://bugs.webkit.org/show_bug.cgi?id=216406
We are not supporting returnEarlyFromInfiniteLoopsForFuzzing option for CLoop.
* stress/construct-return-early-from-infinite-loop-for-fuzzer.js:
(vm.useJIT):
2020-09-15 Tadeu Zagallo <tzagallo@apple.com>
Object allocation sinking forgets escaped nodes when structure changes
https://bugs.webkit.org/show_bug.cgi?id=216214
<rdar://problem/68518460>
Reviewed by Saam Barati.
* stress/allocation-sinking-changing-structures.js: Added.
(main.v4.get v4):
(main):
2020-09-15 Saam Barati <sbarati@apple.com>
CustomFunctionEquivalence PropertyCondition needs to check if the structure has the property
https://bugs.webkit.org/show_bug.cgi?id=216575
<rdar://problem/68286930>
Reviewed by Yusuke Suzuki.
* stress/has-static-property-property-condition-needs-to-check-if-structure-has-property.js: Added.
(foo):
2020-09-15 Yusuke Suzuki <ysuzuki@apple.com>
[JSC] Apply Intl.DateTimeFormat hour-cycle correctly when timeStyle is used
https://bugs.webkit.org/show_bug.cgi?id=216521
Reviewed by Ross Kirsling.
JSTests/stress/intl-date-time-format-date-time-style-hour-cycle.js result is now matching against V8 and SpiderMonkey,
and this new behavior is more reasonable.
* stress/intl-date-time-format-date-time-style-hour-cycle.js:
(shouldBe.o.format):
(shouldBe):
* stress/intl-datetimeformat-hour-cycle.js: Added.
(shouldBe):
(throw.new.Error):
* test262/expectations.yaml:
2020-09-14 Yusuke Suzuki <ysuzuki@apple.com>
[JSC] Intl.Collator should take collation option
https://bugs.webkit.org/show_bug.cgi?id=216529
Reviewed by Ross Kirsling.
* stress/intl-collator-co-extension.js:
(shouldThrow):
2020-09-14 Keith Miller <keith_miller@apple.com>
BytecodeParser should GetLocal op_ret's value even if it's unused by the caller
https://bugs.webkit.org/show_bug.cgi?id=216506
Reviewed by Mark Lam.
* stress/osr-availability-should-see-unused-return-as-available.js: Added.
(foo):
(set isFinite):
2020-09-14 Alexey Shvayka <shvaikalesh@gmail.com>
Proxy's "ownKeys" trap result should not be sorted
https://bugs.webkit.org/show_bug.cgi?id=216227
Reviewed by Yusuke Suzuki.
* microbenchmarks/object-get-own-property-symbols-on-large-array.js:
* microbenchmarks/object-get-own-property-symbols.js:
* microbenchmarks/reflect-own-keys.js: Added.
* stress/proxy-own-keys.js: Fix incorrect assert.
* test262/expectations.yaml: Mark 20 test cases as passing.
2020-09-14 Alexey Shvayka <shvaikalesh@gmail.com>
ArraySetLength should coerce [[Value]] before descriptor validation
https://bugs.webkit.org/show_bug.cgi?id=158791
Reviewed by Darin Adler.
* test262/expectations.yaml: Mark 4 test cases as passing.
2020-09-14 Saam Barati <sbarati@apple.com>
Remove bogus asserts in FTLLower that assume programs are compiled with sensible speculations
https://bugs.webkit.org/show_bug.cgi?id=216485
<rdar://problem/68562804>
Reviewed by Keith Miller.
* stress/ftl-should-not-assume-speculations-are-sensible.js: Added.
(foo):
2020-09-14 Alexey Shvayka <shvaikalesh@gmail.com>
Make a few built-in methods throw if called as top-level functions
https://bugs.webkit.org/show_bug.cgi?id=216467
Reviewed by Darin Adler.
* test262/expectations.yaml: Mark 10 test cases as passing.
2020-09-14 Saam Barati <sbarati@apple.com>
Don't assume byte code operands are uint32 JSValues