diff options
author | Alon Zakai <azakai@google.com> | 2021-02-02 00:47:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 16:47:46 -0800 |
commit | a4837c095275b465005841616ff10bcd0b0d7996 (patch) | |
tree | fef7ce382071dd9d0aef74ab8b3ee1219367728d /src/wasm/wasm-stack.cpp | |
parent | eafb0a4ef25cd82317ac8fa84a9d7e58f9382fcc (diff) | |
download | binaryen-a4837c095275b465005841616ff10bcd0b0d7996.tar.gz binaryen-a4837c095275b465005841616ff10bcd0b0d7996.tar.bz2 binaryen-a4837c095275b465005841616ff10bcd0b0d7996.zip |
[GC] isGCData => isData (#3534)
We added isGCData() before we had dataref. But now there is a clear
parallel of Function vs Data. This PR makes us more consistent there,
renaming isGCData to isData and using that throughout.
This also fixes a bug where the old isGCData just checked if the input
was an Array or a Struct, and ignored the data heap type itself. It is not
possible to test that, however, due to other bugs, so that is deferred.
Diffstat (limited to 'src/wasm/wasm-stack.cpp')
0 files changed, 0 insertions, 0 deletions