summaryrefslogtreecommitdiff
path: root/src/wasm-stack.h
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2021-12-07 11:26:18 -0800
committerGitHub <noreply@github.com>2021-12-07 19:26:18 +0000
commit756f90b4bb91e842ca8c49f30062c4b7af97010d (patch)
treefbe36399e8a402128dc31fbe8765cd15939e7da5 /src/wasm-stack.h
parentd0688359cacd50ce11858f8a22411ebce87d872d (diff)
downloadbinaryen-756f90b4bb91e842ca8c49f30062c4b7af97010d.tar.gz
binaryen-756f90b4bb91e842ca8c49f30062c4b7af97010d.tar.bz2
binaryen-756f90b4bb91e842ca8c49f30062c4b7af97010d.zip
[NFC] Deduplicate Store insertion logic (#4374)
Types and HeapTypes are inserted into their respective stores either by copying a reference to a `TypeInfo` or `HeapTypeInfo` or by moving a `std::unique_ptr<TypeInfo>` or `std::unique_ptr<HeapTypeInfo>`. Previously these two code paths had separate, similar logic. To reduce deduplication, combine both code paths into a single method.
Diffstat (limited to 'src/wasm-stack.h')
0 files changed, 0 insertions, 0 deletions