Native support for blockOn()
commite04e366dd5add80da51638dbfe67a80fb2300b81
authorJan Oravec <jan@fb.com>
Thu, 29 May 2014 05:24:42 +0000 (28 22:24 -0700)
committerJoelMarcey <joelm@fb.com>
Fri, 30 May 2014 05:50:00 +0000 (29 22:50 -0700)
tree07ef32a38f3bf27e1cd64cd27acd101dc468aa43
parentbebf83f2ea6c8a9ad51c5d9a256564a6b03f5e33
Native support for blockOn()

Summary: Move more responsibility from AsyncFunctionWaitHandle::resume() to
the Await opcode. Eliminates branch in resume() and moves us
closer to the native scheduler.

Reviewed By: @billf

Differential Revision: D1353832
hphp/doc/ir.specification
hphp/runtime/ext/asio/async_function_wait_handle.cpp
hphp/runtime/ext/asio/blockable_wait_handle.h
hphp/runtime/vm/jit/code-gen-arm.cpp
hphp/runtime/vm/jit/code-gen-helpers-x64.cpp
hphp/runtime/vm/jit/code-gen-x64.cpp
hphp/runtime/vm/jit/hhbc-translator.cpp
hphp/runtime/vm/jit/ir-instruction.cpp
hphp/runtime/vm/jit/ir.h