diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2021-12-08 10:29:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-08 10:29:02 -0800 |
commit | ba01236b26d7ea97f165af310fbb6fb99be6239a (patch) | |
tree | 1054486b83e1e2ccfb53b66073fcd184c4cde159 /src/passes/SimplifyGlobals.cpp | |
parent | 3b16999a77640b945d6f85201d843a76659ff635 (diff) | |
download | binaryen-ba01236b26d7ea97f165af310fbb6fb99be6239a.tar.gz binaryen-ba01236b26d7ea97f165af310fbb6fb99be6239a.tar.bz2 binaryen-ba01236b26d7ea97f165af310fbb6fb99be6239a.zip |
[NFC] Add a separate cache for nominal signature types (#4375)
We have always cached nominal signature types keyed on their signatures to avoid
creating extra nominal types through the `HeapType::HeapType(Signature)`
constructor. However, that logic was previously built into the HeapTypeInfo
canonicalization system. To allow that system to be simplified in future PRs,
separate the caching into its own explicit layer.
Diffstat (limited to 'src/passes/SimplifyGlobals.cpp')
0 files changed, 0 insertions, 0 deletions