Enable HHIR guard relaxation for Optimize translations
commit0da953c0c56758a211930704934fb8ccbd726b62
authorGuilherme Ottoni <ottoni@fb.com>
Fri, 23 May 2014 00:36:49 +0000 (22 17:36 -0700)
committerJoelMarcey <joelm@fb.com>
Fri, 23 May 2014 23:09:01 +0000 (23 16:09 -0700)
tree4d8c736e35c132653de6055661230e0c7814730b
parent85e1e7ebe5c4b5da8a01d93da1389c5a20d2aced
Enable HHIR guard relaxation for Optimize translations

Summary: This was almost working apparently.  This diff fixes a couple of bugs
and got this working again.

Profile translations are not relaxed, and thus types are never
specialized.  We can try that separately, but I'm thinking that it
might be best to specialize types based on profiling instead (as done
for ArrayGet).

Reviewed By: @swtaarrs

Differential Revision: D1342724
hphp/runtime/base/runtime-option.cpp
hphp/runtime/base/runtime-option.h
hphp/runtime/vm/jit/check.cpp
hphp/runtime/vm/jit/guard-relaxation.cpp
hphp/runtime/vm/jit/guard-relaxation.h
hphp/runtime/vm/jit/ir-builder.cpp
hphp/runtime/vm/jit/ir-translator.cpp
hphp/runtime/vm/jit/minstr-translator.cpp
hphp/runtime/vm/jit/opt.cpp