summaryrefslogtreecommitdiff
path: root/src/parsing.h
diff options
context:
space:
mode:
authorDaniel Wirtz <dcode@dcode.io>2018-07-18 19:16:29 +0200
committerAlon Zakai <alonzakai@gmail.com>2018-07-18 10:16:29 -0700
commit25890f53cba4b9b05341ac146dde755a7fa4fddd (patch)
tree6fe6ca4b9401dc59df1d9b9d2aded6d70005b4df /src/parsing.h
parente601522b1e15e5a2a96578244faca1648021fb2d (diff)
downloadbinaryen-25890f53cba4b9b05341ac146dde755a7fa4fddd.tar.gz
binaryen-25890f53cba4b9b05341ac146dde755a7fa4fddd.tar.bz2
binaryen-25890f53cba4b9b05341ac146dde755a7fa4fddd.zip
Support constant globals in precompute pass (#1622)
This PR includes non-mutable globals in precompute, which will allow me to continue removing manual inlining of constants in AssemblyScript without breaking something. Related: #1621, i.e. enum Animal { CAT = 0, DOG = CAT + 1 // requires that `Animal.CAT` is evaluated to // precompute the constant value for `Animal.DOG` }
Diffstat (limited to 'src/parsing.h')
0 files changed, 0 insertions, 0 deletions