show(IRGS): show all elements on the stack, not just half
commit25f2e38550cc921e3613b24fc35820e4f0f6861f
authorJan Oravec <jan@fb.com>
Fri, 28 Jun 2019 03:55:20 +0000 (27 20:55 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 28 Jun 2019 04:03:27 +0000 (27 21:03 -0700)
tree58a7789c45e0acc82541a4ac5037a963dca0d430
parent15d5d7f8b9c419f5aed942fe1e116281feafe7cd
show(IRGS): show all elements on the stack, not just half

Summary:
stackDepth is the thing that indicates total number of elements, spOffset is
just a current cursor that gets updated with every iteration. If we are
iterating until spOffset and decrementing spOffset at the same time, we print
only half of stack items.

Reviewed By: alexeyt

Differential Revision: D16041188

fbshipit-source-id: 0b4c954acf496d5a4484dac899d9ad2eb1a6dfbd
hphp/runtime/vm/jit/irgen-state.cpp