summaryrefslogtreecommitdiff
path: root/src/passes/OptimizeInstructions.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-08-09 21:42:52 -0700
committerGitHub <noreply@github.com>2023-08-10 04:42:52 +0000
commitfb7d645748084be0f9e04e003083191a3e21371a (patch)
tree10b9c7559718058eebc2d7b6c3640e94ee13d89b /src/passes/OptimizeInstructions.cpp
parentc003a01aa855bfa1377237eb2ce788b9fa96e839 (diff)
downloadbinaryen-fb7d645748084be0f9e04e003083191a3e21371a.tar.gz
binaryen-fb7d645748084be0f9e04e003083191a3e21371a.tar.bz2
binaryen-fb7d645748084be0f9e04e003083191a3e21371a.zip
Allow opting into standard GC encodings at compile time (#5868)
Depending on whether preprocessor macros USE_STANDARD_GC_ENCODINGS and USE_LEGACY_GC_ENCODINGS are defined, use the standard or legacy encodings for GC types and instructions. Default to the latter for now. When WasmGC reaches phase 4, we will switch the default to be the standard encodings instead. After users have time to update, we will remove the legacy encodings entirely. Tested manually by building with USE_STANDARD_GC_ENCODINGS locally and seeing that all the tests pass except for some tests that depend on the specific binary encoding.
Diffstat (limited to 'src/passes/OptimizeInstructions.cpp')
0 files changed, 0 insertions, 0 deletions