diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2022-05-03 18:08:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 01:08:09 +0000 |
commit | 60e602896e82e988e4fcbfac74aa9639b4ac8814 (patch) | |
tree | 7f6ccb1b148235fcfd47212f9d3732e8429ecb26 /scripts | |
parent | 737f65a593226119d085e34393592e7462f60cba (diff) | |
download | binaryen-60e602896e82e988e4fcbfac74aa9639b4ac8814.tar.gz binaryen-60e602896e82e988e4fcbfac74aa9639b4ac8814.tar.bz2 binaryen-60e602896e82e988e4fcbfac74aa9639b4ac8814.zip |
Remove externref (#4633)
Remove `Type::externref` and `HeapType::ext` and replace them with uses of
anyref and any, respectively, now that we have unified these types in the GC
proposal. For backwards compatibility, continue to parse `extern` and
`externref` and maintain their relevant C API functions.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/wasm2js.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/wasm2js.js b/scripts/wasm2js.js index a72ccfbfb..4a16184d0 100644 --- a/scripts/wasm2js.js +++ b/scripts/wasm2js.js @@ -124,10 +124,6 @@ var asmLibraryArg = { console.log('get_f64 ' + [loc, index, value]); return value; }, - get_externref: function(loc, index, value) { - console.log('get_externref ' + [loc, index, value]); - return value; - }, set_i32: function(loc, index, value) { console.log('set_i32 ' + [loc, index, value]); return value; @@ -145,10 +141,6 @@ var asmLibraryArg = { console.log('set_f64 ' + [loc, index, value]); return value; }, - set_externref: function(loc, index, value) { - console.log('set_externref ' + [loc, index, value]); - return value; - }, load_ptr: function(loc, bytes, offset, ptr) { console.log('load_ptr ' + [loc, bytes, offset, ptr]); return ptr; |