First cut at constant folding
commit3a3a3ad5036d6a2f2b4ffc0e577573f59ef1e887
authorEric Lippert <ericlippert@fb.com>
Thu, 23 Mar 2017 20:54:03 +0000 (23 13:54 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 23 Mar 2017 20:58:02 +0000 (23 13:58 -0700)
tree4a0dc71010f1bedab008176b037a50f230d3e82a
parent95831d9d27b36b244237d344acc07b39cc32cd8e
First cut at constant folding

Summary: We can now have constants that consist of arbitrarily many additions of integers.

Reviewed By: oulgen

Differential Revision: D4763594

fbshipit-source-id: e9f5b818efb4570b7d0d0cdbd0ec220b2da8defb
hphp/hack/src/hhbc/hhbc_from_nast.ml