summaryrefslogtreecommitdiff
path: root/src/binaryen-c.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-11-15 20:47:17 -0800
committerGitHub <noreply@github.com>2020-11-15 20:47:17 -0800
commiteb4d1bb700b1ac3ef95bb396ea7ea3ef96dc099d (patch)
tree3939781fb643284cd203e66749aa0d9910e7e367 /src/binaryen-c.cpp
parent59a74f9bfc83bd1cf67208bb41ecb3f9bda492e6 (diff)
downloadbinaryen-eb4d1bb700b1ac3ef95bb396ea7ea3ef96dc099d.tar.gz
binaryen-eb4d1bb700b1ac3ef95bb396ea7ea3ef96dc099d.tar.bz2
binaryen-eb4d1bb700b1ac3ef95bb396ea7ea3ef96dc099d.zip
[cost.h] Require all expressions to be define a cost (#3363)
Almost NFC, but adds a cost to DataDrop, 5, which tries to reflect that it is costlier than a call (it calls into VM internals) but also not much more, as it actually helps perf in the long term, so it should be preferred where possible.
Diffstat (limited to 'src/binaryen-c.cpp')
0 files changed, 0 insertions, 0 deletions