Fix the context class for continuations in closures
commit17f2ae8df751e9d7dadc8c33af5a60878a5e944b
authormwilliams <mwilliams@fb.com>
Sun, 31 Mar 2013 18:07:12 +0000 (31 11:07 -0700)
committerSara Golemon <sgolemon@fb.com>
Mon, 1 Apr 2013 20:48:50 +0000 (1 13:48 -0700)
tree1c866fe215b32cb1e7615484b0917c29387c10fa
parentbfd325be4304a675c0a0d4a8f74587d704568e40
Fix the context class for continuations in closures

The late static bound class was being used for the context. This
was wrong, but before this change there was no context at all, so
it would have taken newly written code to expose the bug.

However, a given continuation can be instantiated from a large number
of different lsb classes (but only one context class) which meant that
we got an explosion of unnecessary translations.
hphp/runtime/vm/bytecode.cpp