Initial work to get loops through the JIT
commite0383783bf51efa48fec969e4494c3088621499f
authorGuilherme Ottoni <ottoni@fb.com>
Fri, 20 Jun 2014 18:18:12 +0000 (20 11:18 -0700)
committerfacebook-github-bot <githubbot@fb.com>
Fri, 20 Jun 2014 18:30:24 +0000 (20 11:30 -0700)
treedf3695f60c5fa11eedf33cbd43b6157b2c115699
parentd70a12332bbd0dea248cc2150acd6517a318e025
Initial work to get loops through the JIT

Summary: This diff tweaks the hot-trace region former to expose some loops
(under a runtime option), and does a few necessary changes to get the
IR built and going through the backend.  All optimization passes are
disabled for now, and only register allocation and code generation are
performed.

Reviewed By: @bertmaher

Differential Revision: D1391337
hphp/runtime/base/runtime-option.h
hphp/runtime/vm/jit/frame-state.cpp
hphp/runtime/vm/jit/frame-state.h
hphp/runtime/vm/jit/hhbc-translator.cpp
hphp/runtime/vm/jit/ir-builder.cpp
hphp/runtime/vm/jit/ir-builder.h
hphp/runtime/vm/jit/mc-generator.cpp
hphp/runtime/vm/jit/region-hot-trace.cpp
hphp/runtime/vm/jit/translator.cpp