Restructure the unwinder a bit; use visitStackElems and simplify some things
commit960f36f8360e596f0008a08ca97bc2c165a3630a
authorJordan DeLong <jdelong@fb.com>
Wed, 5 Jun 2013 05:51:47 +0000 (4 22:51 -0700)
committersgolemon <sgolemon@hiphop-ubuntu-12.04-64>
Thu, 13 Jun 2013 17:25:38 +0000 (13 10:25 -0700)
tree2434dc7e99dbf4d100f0dc992442122219b5b09e
parentb01043bf3c6e4def6d906089a491fba34597cde1
Restructure the unwinder a bit; use visitStackElems and simplify some things

Hopefully a little bit simpler, and duplicating less logic
with Stack::toString.  Contains some fixes to visitStackElems to make
it work for this (it is printing some stacks slightly incorrectly
right now, too ... :)
hphp/runtime/base/execution_context.h
hphp/runtime/vm/bytecode.cpp
hphp/runtime/vm/unwind.cpp
hphp/runtime/vm/unwind.h