diff options
author | Alon Zakai <azakai@google.com> | 2021-08-03 15:08:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 15:08:00 -0700 |
commit | 4ba4d31eafb723a28503faffae1702940b6926ca (patch) | |
tree | f772824da56a880d21e3d820e8088ceef1996096 /test/lit/help/optimization-opts.test | |
parent | 221730366af40a3eb96fd99fcefefc30e4cd9739 (diff) | |
download | binaryen-4ba4d31eafb723a28503faffae1702940b6926ca.tar.gz binaryen-4ba4d31eafb723a28503faffae1702940b6926ca.tar.bz2 binaryen-4ba4d31eafb723a28503faffae1702940b6926ca.zip |
Refactor isSingleConstantExpression(). (#4047)
Define a "single constant expression" consistently, as a thing that is a
compile-time constant. Move I31New out of there, and also clean up
the function it is moved into, canInitializeGlobal(), to be consistent
in validating children.
Diffstat (limited to 'test/lit/help/optimization-opts.test')
0 files changed, 0 insertions, 0 deletions