Turn off profile-guided string specialization
commitdab313809f0be14a81f6a6fe60ef9d9a163c3aff
authorGuilherme Ottoni <ottoni@fb.com>
Thu, 2 Oct 2014 04:43:27 +0000 (1 21:43 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Thu, 2 Oct 2014 05:10:32 +0000 (1 22:10 -0700)
treef7d98a5c16f955c201fefb09e6d550b0b2d78931
parentdff095f75b340c4516343784c10da5b8deab80b4
Turn off profile-guided string specialization

Summary: It's causing a bunch of spurious guards on unused values in profiling
translations, which can then lead to unnecessary optimizing
translations.  This diff adds a runtime option to control this
optimization, and leaves it off by default.

Reviewed By: @swtaarrs

Differential Revision: D1590282
hphp/runtime/base/runtime-option.h
hphp/runtime/vm/jit/hhbc-translator.cpp