Some improvements to the RegionDesc API
commit5d2aa3b20d29a2d19ae2c3431b4e75bfe0e621de
authorGuilherme Ottoni <ottoni@fb.com>
Thu, 21 Aug 2014 19:30:17 +0000 (21 12:30 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Thu, 21 Aug 2014 20:00:18 +0000 (21 13:00 -0700)
tree80da87d1ed30fd4541fc824196a33f2d10d2a053
parenta6852f38a5018e992ce42d58057bf6364e63ba99
Some improvements to the RegionDesc API

Summary: I started with the motivation of making it more efficient to search
arcs incident to a particular block, and then ended up cleaning up
some other stuff as well.

Reviewed By: @edwinsmith

Differential Revision: D1505074
13 files changed:
hphp/runtime/vm/jit/inlining-decider.cpp
hphp/runtime/vm/jit/mc-generator.cpp
hphp/runtime/vm/jit/prof-data.cpp
hphp/runtime/vm/jit/region-hot-trace.cpp
hphp/runtime/vm/jit/region-method.cpp
hphp/runtime/vm/jit/region-selection.cpp
hphp/runtime/vm/jit/region-selection.h
hphp/runtime/vm/jit/region-tracelet.cpp
hphp/runtime/vm/jit/region-whole-cfg.cpp
hphp/runtime/vm/jit/regionize-func.cpp
hphp/runtime/vm/jit/trans-cfg.cpp
hphp/runtime/vm/jit/trans-rec.cpp
hphp/runtime/vm/jit/translator.cpp