summaryrefslogtreecommitdiff
path: root/src/support/path.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-05-05 10:19:58 -0700
committerGitHub <noreply@github.com>2023-05-05 17:19:58 +0000
commita2fca965807a62f6c84739df88bcffbb7c7b74e4 (patch)
treec7246f9e401f6f65327f1b0027d72a316490832a /src/support/path.cpp
parent515690c397c772f6eb0f9747c51fab69046c606b (diff)
downloadbinaryen-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