diff options
author | Alon Zakai <azakai@google.com> | 2020-04-07 17:55:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 17:55:40 -0700 |
commit | e77d85fecd2bfe707f3e9b7ab84cfd6744bdc7b7 (patch) | |
tree | cd674b0322cec50feeb132e634bc17eeedf40ab5 /scripts/test/support.py | |
parent | eaa7240105811ffa565dc97768f1399e7855744b (diff) | |
download | binaryen-e77d85fecd2bfe707f3e9b7ab84cfd6744bdc7b7.tar.gz binaryen-e77d85fecd2bfe707f3e9b7ab84cfd6744bdc7b7.tar.bz2 binaryen-e77d85fecd2bfe707f3e9b7ab84cfd6744bdc7b7.zip |
Only do fp$ optimization in the main module (#2720)
Weak symbols and interposition etc. mean that we should not
replace an fp$ call with a symbol from the module itself if there
is a chance there is another symbol that would have overridden it.
In side modules this risk exists and so this PR makes us stop
doing that. In main modules it is ok because they are loaded
first and so any symbol they provide will "win" over others anyhow.
Diffstat (limited to 'scripts/test/support.py')
0 files changed, 0 insertions, 0 deletions