Implement inc/dec outside of variant
Add an override for CoreFileSize

If present, CoreFileSizeOverride overrides the setting of CoreFileSize.
Remove tvReadCell; use cellDup, sometimes with tvToCell instead

This function used memcpy on TypedValues where it doesn't
know the storage location, which is dangerous if the target lives in a
HphpArray (or anything else that uses m_aux).  It also just seems like
it's now an unnecessary/redundant entry point in the typed value API.
Several uses of it are on things that can't be KindOfRef anyway (I
fixed constants, but where I wasn't sure I used tvToCell first).
Implement bitwise negation outside of Variant
Make fooIsPlausible functions take args by value

Also, checkTv is redundant now, since I added the refcount
assertions to tvIsPlausible earlier.
Implement more of php assert()

Adds support for string arguments to assert (outside of repo
authoritative mode), and support for ASSERT_QUIET_EVAL.
Remove unused undef stuff in bytecode.cpp

Vestigial.
Fix weird assignment operators in ScannerToken and Token

Copy assignment operators should generally take const lvalue
references and return non-const lvalue references to the lhs.  It's
unclear why these don't (probably no reason), so fix it.
put fb_lazy_lstat back in the JSON

I got overzealous in my vim macros. Editing this JSON file is hard, sorry.
support current_executable_path on FreeBSD

- add support for current_executable_path on FreeBSD

Closes #878
php_strip_whitespace

Close to zend's. Needed for composer.

I can't move the real zend test over since we don't apply zend's calling convention to systemlib (yet).
simplexml fixes for text children and casting

- fixes text children count and bool cast of empty nodes
Get rid of TimeoutThread(s)

Use timer events instead. A side effect is that we now
support timeout in client mode. We also get much more
accurate timeouts. Previously starting a server with
a timeout of 4s, and GETing an endpoint that just looped,
would timeout somewhere between 3.5(!) and 8 seconds. Now
it times out between 4.0001 and 4.02s.

This will also make fixing pagelet timeouts much easier.
fix HHVM compilation on FreeBSD

- fix HHVM compilation on FreeBSD

Closes #874
Add build flags to control the region selector default

This will be used to run automated builds testing the new
region selectors.
Eliminate AttachLiteralMode

Eagerly copy strings instead, getting us one step closer
to in-situ allocation for all StringDatas.
Change AttachLiteral to CopyString everywhere

This is a big codemod but has no effect; the actual change
was from D894412.
Smash function prologues on function destruction

Function prologues guard on Func* pointers rather on funcId.
This can cause a recycled Func* (with a different funcId) to
pass the prologue guard. Change it so that the Func* destructor
smashes the func prologue guard immediate.
Add initial framework for PGO in the JIT, and use it for trace-region selection

This diff adds an initial framework for profile-guided optimizations
in the JIT.  Two new translation modes are added, effectively creating
a multi-gear JIT:

  1. Profile: this collects profiling data, which includes execution
              counters and type information.
  2. Optimize: this uses data collected by Profiling translations to
               produce optimized translations.

Right now, the Optimize gear is solely used to produce larger
compilation regions (traces), which increase the scope of
optimizations exposed to the JIT (compared to tracelets).  This is
still work in progress, and it's disabled by default.

This diff also fixes a number of bugs exposed by trace regions, gets
tools/reduce working again, and makes a number of improvements to
tc-print related to the new translation modes.
import all 5.5 tests

and spruce up the import script while I'm in there. Lots of new tests 'passed' because of the skipif

We are now at 45.4% pass rate