summaryrefslogtreecommitdiff
path: root/src/passes/LocalCSE.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-08-18 14:08:51 -0700
committerGitHub <noreply@github.com>2021-08-18 14:08:51 -0700
commit3d6ddaf16232c42ab9a82f5114d562c2d8807870 (patch)
treed3f3e84498a6035278a2083e70e82dbfb2d9ff5f /src/passes/LocalCSE.cpp
parent8d95402260d268966eb0b06c5f4da7e1c5854418 (diff)
downloadbinaryen-3d6ddaf16232c42ab9a82f5114d562c2d8807870.tar.gz
binaryen-3d6ddaf16232c42ab9a82f5114d562c2d8807870.tar.bz2
binaryen-3d6ddaf16232c42ab9a82f5114d562c2d8807870.zip
[Wasm GC] Effects: Differentiate Struct and Array types (#4088)
This allows common patterns in J2CL to be optimized, where we write to various array indices and get the values or the reference from a struct. It would be nice to do even better here, and look at actually specific types, but I think we should be careful to keep the runtime constant. That seems hard to do if we accumulate a list of types and do Type::isSubType on them etc. But maybe someone has a better idea than this PR?
Diffstat (limited to 'src/passes/LocalCSE.cpp')
0 files changed, 0 insertions, 0 deletions