diff options
author | Alon Zakai <azakai@google.com> | 2023-05-05 10:19:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 17:19:58 +0000 |
commit | a2fca965807a62f6c84739df88bcffbb7c7b74e4 (patch) | |
tree | c7246f9e401f6f65327f1b0027d72a316490832a /src/support/path.cpp | |
parent | 515690c397c772f6eb0f9747c51fab69046c606b (diff) | |
download | binaryen-a2fca965807a62f6c84739df88bcffbb7c7b74e4.tar.gz binaryen-a2fca965807a62f6c84739df88bcffbb7c7b74e4.tar.bz2 binaryen-a2fca965807a62f6c84739df88bcffbb7c7b74e4.zip |
Generate unique block names when inlining (#5697)
Each time we inline we put the contents in a block. Before we used the same name
each time we inlined the same method, and as a result had many conflicts if a
function was inlined many times. With this PR we emit a different name each
time.
This is not 100% NFC as it does change block names, which is observable in the IR
(as can be seen in the test updates).
This helps #5696 in speeding up UniqueNameManner.
Diffstat (limited to 'src/support/path.cpp')
0 files changed, 0 insertions, 0 deletions