Fix race in bind-call service request
commit815939f49793c54d96b25f785f2f1db976da1099
authorGuilherme Ottoni <ottoni@fb.com>
Wed, 8 Jan 2014 22:04:17 +0000 (8 14:04 -0800)
committerSara Golemon <sgolemon@fb.com>
Thu, 9 Jan 2014 19:21:34 +0000 (9 11:21 -0800)
tree38ad772f7dafcf3cee073419a04a435394c07191
parent72ced073764e80ae1e3c9625ff1f6b3cc2bbe4d3
Fix race in bind-call service request

The prologue we're binding to may change while the thread waits for the write lease, so read the latest value after acquiring the write lease.

Reviewed By: @scannell

Differential Revision: D1120488
hphp/runtime/vm/jit/translator-x64.cpp