Redo MemoGet / MemoSet instructions to use counts
commitb52aac9732c59e4303ccf2d25a9ceeaad99806ec
authorEric Lippert <ericlippert@fb.com>
Thu, 9 Mar 2017 17:35:48 +0000 (9 09:35 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 9 Mar 2017 17:42:31 +0000 (9 09:42 -0800)
tree8d6fb12a74595bbbbc4bfcad9b7e21429cb77991
parent5db2fa2288091a7c2b05202d6b5e634d069cf4ce
Redo MemoGet / MemoSet instructions to use counts

Summary: The MemoGet / MemoSet instructions take a range of locals. Turns out it is easier to have the first local and the number of locals in the range than the first and last locals in the range.

Reviewed By: hubyrod

Differential Revision: D4674537

fbshipit-source-id: 528f3149a728f92e2d9a1be289a342e2d4155be3
hphp/hack/src/hhbc/generate_memoized.ml
hphp/hack/src/hhbc/hhbc_ast.ml
hphp/hack/src/hhbc/hhbc_hhas.ml
hphp/hack/src/hhbc/instruction_sequence.ml