[WebAssembly] Move type conversion code of JSToWasm return type to JS wasm wrapper
[WebKit-https.git] / JSTests / ChangeLog
1 2018-09-30  Caio Lima  <ticaiolima@gmail.com>
2
3         [BigInt] BigInt.proptotype.toString is broken when radix is power of 2
4         https://bugs.webkit.org/show_bug.cgi?id=190033
5
6         Reviewed by Yusuke Suzuki.
7
8         * stress/big-int-to-string.js:
9
10 2018-09-28  Caio Lima  <ticaiolima@gmail.com>
11
12         [ESNext][BigInt] Implement support for "&"
13         https://bugs.webkit.org/show_bug.cgi?id=186228
14
15         Reviewed by Yusuke Suzuki.
16
17         * stress/big-int-bitwise-and-general.js: Added.
18         (assert):
19         (assert.sameValue):
20         * stress/big-int-bitwise-and-jit.js: Added.
21         (let.assert.sameValue):
22         (bigIntBitAnd):
23         * stress/big-int-bitwise-and-memory-stress.js: Added.
24         (assert):
25         * stress/big-int-bitwise-and-to-primitive-precedence.js: Added.
26         (assert.sameValue):
27         (let.o.Symbol.toPrimitive):
28         (catch):
29         * stress/big-int-bitwise-and-type-error.js: Added.
30         (assert):
31         (assertThrowTypeError):
32         (let.o.valueOf):
33         (o.valueOf):
34         (o.toString):
35         (o.Symbol.toPrimitive):
36         * stress/big-int-bitwise-and-wrapped-value.js: Added.
37         (assert.sameValue):
38         (testBitAnd):
39         (let.o.Symbol.toPrimitive):
40         (o.valueOf):
41         (o.toString):
42
43 2018-09-28  Ross Kirsling  <ross.kirsling@sony.com>
44
45         JSC test stress/jsc-read.js doesn't support CRLF
46         https://bugs.webkit.org/show_bug.cgi?id=190063
47
48         Reviewed by Yusuke Suzuki.
49
50         In order to run this test via Windows command prompt, we can't assume that the final newline will be LF.
51
52         * stress/jsc-read.js:
53         (test):
54
55 2018-09-27  Saam barati  <sbarati@apple.com>
56
57         Verify the contents of AssemblerBuffer on arm64e
58         https://bugs.webkit.org/show_bug.cgi?id=190057
59         <rdar://problem/38916630>
60
61         Reviewed by Mark Lam.
62
63         * stress/regress-189132.js:
64
65 2018-09-27  Dominik Infuehr  <dinfuehr@igalia.com>
66
67         Disable test without LLInt on ARMv7
68         https://bugs.webkit.org/show_bug.cgi?id=190037
69
70         Reviewed by Mark Lam.
71
72         Test runs out of executable memory on ARMv7, do not run
73         this test without LLInt enabled.
74
75         * stress/regress-169445.js:
76
77 2018-09-26  Keith Miller  <keith_miller@apple.com>
78
79         We should zero unused property storage when rebalancing array storage.
80         https://bugs.webkit.org/show_bug.cgi?id=188151
81
82         Reviewed by Michael Saboff.
83
84         * stress/splice-should-zero-property-storage-when-rebalancing.js: Added.
85
86 2018-09-20  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
87
88         [JSC] Optimize Array#lastIndexOf
89         https://bugs.webkit.org/show_bug.cgi?id=189780
90
91         Reviewed by Saam Barati.
92
93         * stress/array-lastindexof-array-prototype-trap.js: Added.
94         (shouldBe):
95         (AncestorArray.prototype.get 2):
96         (AncestorArray):
97         * stress/array-lastindexof-have-a-bad-time-c-runtime.js: Added.
98         (shouldBe):
99         * stress/array-lastindexof-hole-nan.js: Added.
100         (shouldBe):
101         (throw.new.Error):
102         * stress/array-lastindexof-infinity.js: Added.
103         (shouldBe):
104         (throw.new.Error):
105         * stress/array-lastindexof-negative-zero.js: Added.
106         (shouldBe):
107         (throw.new.Error):
108         * stress/array-lastindexof-own-getter.js: Added.
109         (shouldBe):
110         (throw.new.Error.get array):
111         (get array):
112         * stress/array-lastindexof-prototype-trap.js: Added.
113         (shouldBe):
114         (DerivedArray.prototype.get 2):
115         (DerivedArray):
116
117 2018-09-25  Saam Barati  <sbarati@apple.com>
118
119         Calls to baselineCodeBlockForOriginAndBaselineCodeBlock in operationMaterializeObjectInOSR should actually pass in the baseline CodeBlock
120         https://bugs.webkit.org/show_bug.cgi?id=189940
121         <rdar://problem/43640987>
122
123         Reviewed by Mark Lam.
124
125         * stress/use-baseline-codeblock-materialize-osr-exit.js: Added.
126
127 2018-09-24  Saam Barati  <sbarati@apple.com>
128
129         Array.prototype.indexOf fast path needs to ensure the length is still valid after performing effects
130         https://bugs.webkit.org/show_bug.cgi?id=189922
131         <rdar://problem/44651275>
132
133         Reviewed by Mark Lam.
134
135         * stress/array-indexof-fast-path-effects.js: Added.
136         * stress/array-indexof-cached-length.js: Added.
137
138 2018-09-24  Saam barati  <sbarati@apple.com>
139
140         ArgumentsEliminationPhase should snip basic blocks after proven OSR exits
141         https://bugs.webkit.org/show_bug.cgi?id=189682
142         <rdar://problem/43557315>
143
144         Reviewed by Mark Lam.
145
146         * stress/arguments-elimination-will-generate-edge-without-result.js: Added.
147         (foo):
148
149 2018-09-22  Saam barati  <sbarati@apple.com>
150
151         The sampling should not use Strong<CodeBlock> in its machineLocation field
152         https://bugs.webkit.org/show_bug.cgi?id=189319
153
154         Reviewed by Filip Pizlo.
155
156         * stress/sampling-profiler-richards.js: Added.
157
158 2018-09-19  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
159
160         [JSC] Optimize Array#indexOf in C++ runtime
161         https://bugs.webkit.org/show_bug.cgi?id=189507
162
163         Reviewed by Saam Barati.
164
165         * stress/array-indexof-array-prototype-trap.js: Added.
166         (shouldBe):
167         (AncestorArray.prototype.get 2):
168         (AncestorArray):
169         * stress/array-indexof-have-a-bad-time-c-runtime.js: Added.
170         (shouldBe):
171         * stress/array-indexof-hole-nan.js: Added.
172         (shouldBe):
173         (throw.new.Error):
174         * stress/array-indexof-infinity.js: Added.
175         (shouldBe):
176         (throw.new.Error):
177         * stress/array-indexof-negative-zero.js: Added.
178         (shouldBe):
179         (throw.new.Error):
180         * stress/array-indexof-own-getter.js: Added.
181         (shouldBe):
182         (throw.new.Error.get array):
183         (get array):
184         * stress/array-indexof-prototype-trap.js: Added.
185         (shouldBe):
186         (DerivedArray.prototype.get 2):
187         (DerivedArray):
188
189 2018-09-19  Saam barati  <sbarati@apple.com>
190
191         AI rule for MultiPutByOffset executes its effects in the wrong order
192         https://bugs.webkit.org/show_bug.cgi?id=189757
193         <rdar://problem/43535257>
194
195         Reviewed by Michael Saboff.
196
197         * stress/multi-put-by-offset-must-filter-value-before-filtering-base.js: Added.
198         (foo):
199         (Foo):
200         (g):
201
202 2018-09-17  Mark Lam  <mark.lam@apple.com>
203
204         Ensure that ForInContexts are invalidated if their loop local is over-written.
205         https://bugs.webkit.org/show_bug.cgi?id=189571
206         <rdar://problem/44402277>
207
208         Reviewed by Saam Barati.
209
210         * stress/regress-189571.js: Added.
211
212 2018-09-17  Saam barati  <sbarati@apple.com>
213
214         We must convert ProfileType to CheckStructureOrEmpty instead of CheckStructure
215         https://bugs.webkit.org/show_bug.cgi?id=189676
216         <rdar://problem/39682897>
217
218         Reviewed by Michael Saboff.
219
220         * typeProfiler/check-structure-or-empty-in-fixup.js: Added.
221         (A):
222         (K):
223         (i.catch):
224
225 2018-09-14  Saam barati  <sbarati@apple.com>
226
227         Don't dump OSRAvailabilityData in Graph::dump because a stale Availability may point to a Node that is already freed
228         https://bugs.webkit.org/show_bug.cgi?id=189628
229         <rdar://problem/39481690>
230
231         Reviewed by Mark Lam.
232
233         * stress/verbose-failure-dont-graph-dump-availability-already-freed.js: Added.
234         (foo):
235
236 2018-09-11  Mark Lam  <mark.lam@apple.com>
237
238         Test for array initialization in arrayProtoFuncSplice.
239         https://bugs.webkit.org/show_bug.cgi?id=170253
240         <rdar://problem/31328773>
241
242         Rubber-stamped by Saam Barati.
243
244         * stress/regress-170253.js: Added.
245
246 2018-09-11  Mark Lam  <mark.lam@apple.com>
247
248         Test for IntlObject initialization.
249         https://bugs.webkit.org/show_bug.cgi?id=170251
250         <rdar://problem/31328419>
251
252         Rubber-stamped by Saam Barati.
253
254         * stress/regress-170251.js: Added.
255
256 2018-09-11  Mark Lam  <mark.lam@apple.com>
257
258         Test for array memcpy'ing when JSGlobalObject::haveABadTime.
259         https://bugs.webkit.org/show_bug.cgi?id=169889
260         <rdar://problem/31155607>
261
262         Reviewed by Saam Barati.
263
264         * stress/regress-169889-array-concat.js: Added.
265         * stress/regress-169889-array-concat1.js: Added.
266         * stress/regress-169889-array-slice.js: Added.
267
268 2018-09-11  Mark Lam  <mark.lam@apple.com>
269
270         Test for incorrect check in emitPutDerivedConstructorToArrowFunctionContextScope.
271         https://bugs.webkit.org/show_bug.cgi?id=169445
272         <rdar://problem/30957435>
273
274         Reviewed by Saam Barati.
275
276         * stress/regress-169445.js: Added.
277         (let.gun.eval.A):
278         (let.gun.eval.B.C):
279         (let.gun.eval.B.C.prototype.trigger):
280         (let.gun.eval.B.C.prototype.triggerWithRestParameters):
281         (let.gun.eval.B):
282         (let.gun.eval):
283
284 == Rolled over to ChangeLog-2018-09-11 ==