summaryrefslogtreecommitdiff
path: root/src/tools/wasm-ctor-eval.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-03-16 17:35:30 -0500
committerGitHub <noreply@github.com>2023-03-16 15:35:30 -0700
commit121d1572f9a3b7a59c52deda0fedd9dd4a950aa9 (patch)
treee6f60c535ef704732923cdadbb73cae074cb0abe /src/tools/wasm-ctor-eval.cpp
parentbd43ae2e3fc8e32a914609967fe4ff67ef025736 (diff)
downloadbinaryen-121d1572f9a3b7a59c52deda0fedd9dd4a950aa9.tar.gz
binaryen-121d1572f9a3b7a59c52deda0fedd9dd4a950aa9.tar.bz2
binaryen-121d1572f9a3b7a59c52deda0fedd9dd4a950aa9.zip
[NFC] Templatize `makeBlock` so it can be used with any iterable (#5583)
Replace the different overloads we previously had for different kinds of containers with generic templates. We still need dedicated overloads for `std::initializer_list` because it is never inferred in a template context, though. Also, since `std::initializer_list` does not allow subscripting, update the arena vector implementation to use iterators instead now that initializer lists can be passed down to that layer without being reified as vectors.
Diffstat (limited to 'src/tools/wasm-ctor-eval.cpp')
0 files changed, 0 insertions, 0 deletions