WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
218331
[WASM-References] Rename anyref to externref
https://bugs.webkit.org/show_bug.cgi?id=218331
Summary
[WASM-References] Rename anyref to externref
Dmitry
Reported
2020-10-29 05:31:06 PDT
The JSC uses an outdated version of the reference types proposal, in short ref-types. Both SpiderMonkey and V8 engines support recent version of ref-types, so to make JSC better we should update it. JSC implements ref-types version which corresponds the version right before this PR
https://github.com/WebAssembly/reference-types/pull/87
. There are a few tasks to do: 1) rename anyref to externref 2) extend JSC wasm parser to parse immediates for ref.null and ref.is_null 3) adapt recent tests from existing implementations (SpiderMonkey and V8)
Attachments
Patch
(190.22 KB, patch)
2020-10-29 06:30 PDT
,
Dmitry
no flags
Details
Formatted Diff
Diff
Patch
(190.16 KB, patch)
2020-10-30 04:59 PDT
,
Dmitry
no flags
Details
Formatted Diff
Diff
Patch
(283.04 KB, patch)
2020-10-30 06:53 PDT
,
Dmitry
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Dmitry
Comment 1
2020-10-29 06:30:28 PDT
Created
attachment 412640
[details]
Patch
EWS Watchlist
Comment 2
2020-10-29 06:31:16 PDT
This patch modifies one of the wasm.json files. Please ensure that any changes in one have been mirrored to the other. You can find the wasm.json files at "Source/JavaScriptCore/wasm/wasm.json" and "JSTests/wasm/wasm.json". This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see
https://trac.webkit.org/wiki/WPTExportProcess
Dmitry
Comment 3
2020-10-30 04:46:44 PDT
In this bug we will focus on the first part (1) rename anyref to externref.
Dmitry
Comment 4
2020-10-30 04:59:09 PDT
Created
attachment 412732
[details]
Patch
Dmitry
Comment 5
2020-10-30 06:53:07 PDT
Created
attachment 412736
[details]
Patch
Keith Miller
Comment 6
2020-10-30 09:33:31 PDT
Comment on
attachment 412736
[details]
Patch r=me.
Radar WebKit Bug Importer
Comment 7
2020-11-05 04:32:21 PST
<
rdar://problem/71074071
>
EWS
Comment 8
2020-11-06 17:11:14 PST
Committed
r269552
: <
https://trac.webkit.org/changeset/269552
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 412736
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug