diff options
author | Andy Wingo <wingo@igalia.com> | 2020-11-03 10:46:23 -0800 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2020-11-03 10:46:23 -0800 |
commit | 107c3a12d627f12a23f138a00d6aabe9de7402f7 (patch) | |
tree | 956497feb7d3fde2dd7af347b539891e618f2f93 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | ca5b31502c828f8e7160a77f54a5a131dc298005 (diff) | |
download | llvm-107c3a12d627f12a23f138a00d6aabe9de7402f7.zip llvm-107c3a12d627f12a23f138a00d6aabe9de7402f7.tar.gz llvm-107c3a12d627f12a23f138a00d6aabe9de7402f7.tar.bz2 |
[WebAssembly] Implement ref.null
This patch adds a new "heap type" operand kind to the WebAssembly MC
layer, used by ref.null. Currently the possible values are "extern" and
"func"; when typed function references come, though, this operand may be
a type index.
Note that the "heap type" production is still known as "refedtype" in
the draft proposal; changing its name in the spec is
ongoing (https://github.com/WebAssembly/reference-types/issues/123).
The register form of ref.null is still untested.
Differential Revision: https://reviews.llvm.org/D90608
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions