summaryrefslogtreecommitdiff
path: root/src/passes/pass.cpp
diff options
context:
space:
mode:
authorRoberto Lublinerman <rluble@google.com>2024-05-28 12:07:32 -0700
committerGitHub <noreply@github.com>2024-05-28 12:07:32 -0700
commitfc48efe380c0d3360db17a54f0cdd0267d8ee1cf (patch)
tree275b4d43c27e37a26b0d6bad2b623937c49c85e3 /src/passes/pass.cpp
parent13f3fd2bb76a41f146382ebf7303869c1088c73e (diff)
downloadbinaryen-fc48efe380c0d3360db17a54f0cdd0267d8ee1cf.tar.gz
binaryen-fc48efe380c0d3360db17a54f0cdd0267d8ee1cf.tar.bz2
binaryen-fc48efe380c0d3360db17a54f0cdd0267d8ee1cf.zip
OptimizeInstructions: Push StructNew down to help it fold away StructSets (#6584)
Heap stores (struct.set) are optimized into the struct.new when they are adjacent in a statement list. Pushing struct.new down past irrelevant instructions increases the likelihood that it ends up adjacent to sets.
Diffstat (limited to 'src/passes/pass.cpp')
0 files changed, 0 insertions, 0 deletions