Turn on the Region JIT (take 2)

Except for ARM.

Reviewed By: @swtaarrs

Differential Revision: D1119650
PHP_VERSION_ID should not be greater than all Zend

PHP_VERSION_ID is now 504999 which is > all Zend versions which
makes using it for comparisons of less than 5.5/5.6/etc. impossible.

Closes #1603

Reviewed By: @sgolemon

Differential Revision: D1135461
Disable flaky zend test

Reviewed By: @bertmaher

Differential Revision: D1135985
Rename Interval::info -> loc in xls.cpp

Leftover from the RegisterInfo->PhysLoc rename.

Reviewed By: @bertmaher

Differential Revision: D1135841
Merge pull request #1614 from skyfms/master

Allow disabling hardware counters from cmake
Support ReflectionClass::getConstructor() for old-style superclass constructors

Reviewed By: @ptarjan

Differential Revision: D1132467
Add some logging to the assertions about unique classes actually being unique

I've hit this once or twice, and I think it probably is a
race in hphpc or something (it is not consistent).  Just add some
logging to try to help debug next time.  (So far it's always
Ix-related closure classes that have AttrUnique but actually aren't in
the cores I've had.)

Reviewed By: @swtaarrs

Differential Revision: D1135290
Change indentation in lookup_constraint, add task# for a TODO

Reviewed By: @dariorussi

Differential Revision: D1134307
Fix 86pinit bug in hhbbc relating to collection initializers

I thought 86pinit could only set private properties to
uncounted types, but there's also collection literals.  Merge in
TInitCell---in these classes all private properties initialized by
86pinit will end up as TCell for now, since they start as uninit in
the scalar initializer.  (Things with non-scalar initializers also
will be TInitCell.)  We'll make it do better later.

Reviewed By: @dariorussi

Differential Revision: D1135293
Warnings for incorrect params passed to ReflectionProperty get/setValue

Added warnings to match Zend behavior for incorrect number of arguments passed
and for not passing an object as the first parameter when reflecting on instance properties.

Reviewed By: @ptarjan

Differential Revision: D1135118
Removed duplicate #includes

Removed duplicate #includes.

Reviewed By: robbert

Differential Revision: D1136491
Use raise_typehint_error for ?Foo hints

So we can use them in static analysis.  Requires a www change
for the error handler.

Reviewed By: @elgenie

Differential Revision: D1125242
Remove MetaInfo::Kind::String; seems to not kick in anymore

Quite a while back I perflabbed turning this off and saw red,
but I think it must've been noise.  I ran perflabs with an
always_assert(0) in applyInputMetaData here and it never triggered.

Reviewed By: @edwinsmith

Differential Revision: D1133071
Remove AssertStkVal/OverrideLocVal and HHBCTranslator::assertString

Dead after D1133071.  bsimmers said he never really liked
them anyway.

Reviewed By: @swtaarrs

Differential Revision: D1135305
Remove MetaInfo::Kind::NonRefCounted

This has been disabled since shortly after it was added,
since hphpc doesn't handle exception edges correctly and reports wrong
information.

Reviewed By: @swtaarrs

Differential Revision: D1135310
Resize the static string table after argument parsing if the size was wrong

Also, change the default size to match cli.hdf, so we don't
do a resize on command line scripts.

Reviewed By: @edwinsmith

Differential Revision: D1126293
Remove MethodLookup namespace

Namespace isn't needed now that we're using enum classes.

Reviewed By: @jdelong

Differential Revision: D1135968
Normalize string wrt namespace when used in function or class context

Bytecodes that resolve strings to a class or a function need to normalize the string so it never starts with '\'

Reviewed By: @jdelong

Differential Revision: D1135085
Eliminate unused stubBlock() template function

It's unused.

Reviewed By: @swtaarrs

Differential Revision: D1136316
Fix BaseMap::eraseNoCompact to decref string keys

Reviewed By: @elgenie

Differential Revision: D1137646