summaryrefslogtreecommitdiff
path: root/scripts/test/support.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-04-07 17:55:40 -0700
committerGitHub <noreply@github.com>2020-04-07 17:55:40 -0700
commite77d85fecd2bfe707f3e9b7ab84cfd6744bdc7b7 (patch)
treecd674b0322cec50feeb132e634bc17eeedf40ab5 /scripts/test/support.py
parenteaa7240105811ffa565dc97768f1399e7855744b (diff)
downloadbinaryen-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