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/tools/wasm-split | |
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/tools/wasm-split')
-rw-r--r-- | src/tools/wasm-split/instrumenter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/wasm-split/instrumenter.cpp b/src/tools/wasm-split/instrumenter.cpp index 22940a5f2..a2d6340f0 100644 --- a/src/tools/wasm-split/instrumenter.cpp +++ b/src/tools/wasm-split/instrumenter.cpp @@ -18,6 +18,7 @@ #include "ir/module-utils.h" #include "ir/names.h" #include "support/name.h" +#include "wasm-builder.h" #include "wasm-type.h" namespace wasm { |