summaryrefslogtreecommitdiff
path: root/src/wasm-debug.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-11-17 08:31:13 -0800
committerGitHub <noreply@github.com>2020-11-17 08:31:13 -0800
commita3d2a4d7854b8c14c7c7d222307b2af0c48b1275 (patch)
treef219335588c77751d7f55cd8bd81509831214929 /src/wasm-debug.h
parent8046ebaa848617588f945a007adb2ba8489a6399 (diff)
downloadbinaryen-a3d2a4d7854b8c14c7c7d222307b2af0c48b1275.tar.gz
binaryen-a3d2a4d7854b8c14c7c7d222307b2af0c48b1275.tar.bz2
binaryen-a3d2a4d7854b8c14c7c7d222307b2af0c48b1275.zip
[cost.h] Define costs for I31New and I31Get which the fuzzer emits (#3373)
cost.h now requires costs be defined, or it halts at runtime. But the fuzzer already emits those two, so define them to unbreak the fuzzer. Both access a reference, so they should be at least as costly as a load. I31New also allocates, which is very cheap on a generational GC, so do not add much for that.
Diffstat (limited to 'src/wasm-debug.h')
0 files changed, 0 insertions, 0 deletions