diff options
author | Jay Phelps <hello@jayphelps.com> | 2020-06-10 16:34:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 13:34:56 -0700 |
commit | f21eb572dd4a30c27dfad813249c3d715b4d1bca (patch) | |
tree | 2e1a2d9020a88584625e5c51dc691193037685cf /src/wasm-interpreter.h | |
parent | 6ec03c5c0c664660a88fdb61ac1d3bd1f8b14771 (diff) | |
download | binaryen-f21eb572dd4a30c27dfad813249c3d715b4d1bca.tar.gz binaryen-f21eb572dd4a30c27dfad813249c3d715b4d1bca.tar.bz2 binaryen-f21eb572dd4a30c27dfad813249c3d715b4d1bca.zip |
Rename anyref to externref to match proposal change (#2900)
anyref future semantics were changed to only represent opaque host values, and thus renamed to externref.
[Chromium](https://bugs.chromium.org/p/v8/issues/detail?id=7748#c360) was just updated to today (not yet released). I couldn't find a Mozilla bugzilla ticket mentioning externref so I don't immediately know if they've updated yet.
https://github.com/WebAssembly/reference-types/pull/87
Diffstat (limited to 'src/wasm-interpreter.h')
-rw-r--r-- | src/wasm-interpreter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h index 86ea7e146..124ba9aae 100644 --- a/src/wasm-interpreter.h +++ b/src/wasm-interpreter.h @@ -1642,7 +1642,7 @@ public: case Type::v128: return Literal(load128(addr).data()); case Type::funcref: - case Type::anyref: + case Type::externref: case Type::nullref: case Type::exnref: case Type::none: @@ -1699,7 +1699,7 @@ public: store128(addr, value.getv128()); break; case Type::funcref: - case Type::anyref: + case Type::externref: case Type::nullref: case Type::exnref: case Type::none: |