diff options
author | Alon Zakai <azakai@google.com> | 2023-08-02 15:52:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 15:52:18 -0700 |
commit | c695d6dc0e28fac489ef09a9d231d35f12de62ef (patch) | |
tree | 627ffb34e622d43d55cf671b582403b094fbc659 /src/ir/lubs.cpp | |
parent | 138aff44c56bdcc0c036a1e11a19ea518331e6ba (diff) | |
download | binaryen-c695d6dc0e28fac489ef09a9d231d35f12de62ef.tar.gz binaryen-c695d6dc0e28fac489ef09a9d231d35f12de62ef.tar.bz2 binaryen-c695d6dc0e28fac489ef09a9d231d35f12de62ef.zip |
[NFC] Move ModuleUtils copying and renaming logic from header to cpp (#5855)
None of that code is speed-sensitive, or at least doesn't need to be inlined to be
fast. Move it to cpp for faster compile times.
This caused a cascade of necessary header fixes (i.e. after removing unneeded
header inclusions in module-utils.h, files that improperly depended on that
stopped working and needed an added include).
Diffstat (limited to 'src/ir/lubs.cpp')
-rw-r--r-- | src/ir/lubs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir/lubs.cpp b/src/ir/lubs.cpp index 1f844c244..f9c04cb36 100644 --- a/src/ir/lubs.cpp +++ b/src/ir/lubs.cpp @@ -15,6 +15,7 @@ */ #include "ir/lubs.h" +#include "ir/find_all.h" #include "ir/utils.h" #include "wasm-type.h" #include "wasm.h" |