Annotate which translation has loops in TC print
commitbc59f2800cd8b7c0adf592750d9b2e71f2881a90
authorBin Liu <binliu@fb.com>
Tue, 5 May 2015 17:59:22 +0000 (5 10:59 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Tue, 5 May 2015 18:30:55 +0000 (5 11:30 -0700)
tree22b7c5738da61fc1b81b2613fdea615164473f0a
parent9c65a960fe3f19ba341dd130a42181ed0457f010
Annotate which translation has loops in TC print

Summary: Add the hasLoop field in TransRec and do cfgHasLoop() on the
IRUnit to decide if a loop is present.

Reviewed By: @ottoni

Differential Revision: D2039164
hphp/runtime/vm/jit/mc-generator.cpp
hphp/runtime/vm/jit/trans-rec.cpp
hphp/runtime/vm/jit/trans-rec.h
hphp/tools/tc-print/offline-trans-data.cpp