summaryrefslogtreecommitdiff
path: root/src/binaryen-c.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-06-03 06:41:55 -0700
committerGitHub <noreply@github.com>2020-06-03 06:41:55 -0700
commit0dff178cb4467b07d7bd58713e80b46d15601757 (patch)
treea9ceee118b439defe3ae26c7c37e0dfab44519a1 /src/binaryen-c.cpp
parent501b0a08fafd2b4d2fbb5dd6a4320641bfc823b1 (diff)
downloadbinaryen-0dff178cb4467b07d7bd58713e80b46d15601757.tar.gz
binaryen-0dff178cb4467b07d7bd58713e80b46d15601757.tar.bz2
binaryen-0dff178cb4467b07d7bd58713e80b46d15601757.zip
DeNaN improvements (#2888)
Instead of instrumenting every local.get, instrument parameters on arrival at a function once on entry. After that, every local will always contain a de-naned value (since we would denan on a local.set). This is more efficient and also less confusing I think. Also avoid doing anything to values that fall through as they have already been fixed up.
Diffstat (limited to 'src/binaryen-c.cpp')
0 files changed, 0 insertions, 0 deletions