Fix the "fix for a bug with properties initialized to __DIR__ or __FILE__"

This mostly reverts D1144110.  It looks like the deep init
code is assuming that it's dealing mostly with collections, so I don't
think we want to go down that path.

Reviewed By: @paroski

Differential Revision: D1146121
Print dot-formatted CFG along with the unit

When printir is on, print the block-level CFG before the
unit.  This is pretty quick and dirty for cut-and-pasting into a
graphviz viewer.

Reviewed By: @edwinsmith

Differential Revision: D1154595
Don't lint test hphp/test/zend

Simple touch file for not linting hphp/test/zend.

Reviewed By: @ptarjan

Differential Revision: D1155310
Fix OS X warning in bcmath

IniSetting::Bind deals with int64_t so the precision setting
should be unambiguously int64_t as well. Also fix tabbing.

Reviewed By: @edwinsmith

Differential Revision: D1155271
Implement getlastmod and getmyinode

php.net fatals on the first line of index.php on HHVM.

Let's not fatal. The first call is to getlastmod. Might as well implement getmyinode too.

Reviewed By: @ptarjan

Differential Revision: D1151025
Fix bugs in query op predicates introduced by removal of JmpIs{N,}Type

This fusion was apparently actually happening after all, at
least with hhbbc turned on.  Maybe we'll want to implement something
like it at some point (or use a generic branch fusion thing), but
right now it is probably best to leave it off, because it wasn't
implemented in jump-opts and the REQ_BIND_JMPCC would end up in
astubs, which seems worse than one extra setcc and test opcode.

Reviewed By: @bertmaher

Differential Revision: D1155023
Remove LdHome from ir.specification

Somehow missed this when removing LdHome.

Reviewed By: @edwinsmith

Differential Revision: D1154578
Don't killLocals when making calls on objects or arrays

In FPushFunc, if we know it's an object or array, we can
create an ActRec that has enough information to rule out the
possibility of calling extract(), which could kill locals.

Reviewed By: @elgenie

Differential Revision: D1145505
Localize asserts about builtin class resolution in helper method

Add a function to resolve builtin classes that does this
assert for us.

Reviewed By: @dariorussi

Differential Revision: D1152091
Disable HHBBC::single_unit for now

It's not actually correct, and we don't need it yet.

Reviewed By: @ptarjan

Differential Revision: D1152461
Flip endianness of hash("tiger128,3") output

The original version was wrong.
This is the correct endianness.

Reviewed By: @ptarjan

Differential Revision: D1152593
Export adler32-fb hash algo

BC inverted algorithm output

Reviewed By: @ptarjan

Differential Revision: D1152615
VariableSerializer should use toArray not getArray

Because some classes have custom implementations of ToArray,
we must let o_toArray decide whether or not we should call
o_getArray because the latter only deals with dynamic properties.

Closes #1680
Closes #1683

Reviewed By: @ptarjan

Differential Revision: D1155264

Pulled By: @scannell
HNI conversion script update

Add support for ActRec, varargs, and warn if a ref type is not
a Variant.

Closes #1685

Reviewed By: @ptarjan

Differential Revision: D1155280

Pulled By: @scannell
Revert "Remove legacy linear scan register allocator"

This reverts commit 14a7f0fcb2d9036dff2ad9580fb6255fe2ba2bcf.

Reviewed By: @ottoni

Differential Revision: D1155782
Update NEWS for upcoming release

Reviewed By: @edwinsmith

Differential Revision: D1155493
Start of mysqli

- This is a start of mysqli.
- Things should be usable now.
- Putting up a diff so I don't break anything

Reviewed By: @ptarjan

Differential Revision: D1144612
Update libevent builds.

Update link in third-party2 to pick up new libevent builds for hhvm.

Reviewed By: @ptarjan

Differential Revision: D1153968
Clarify the code in ArgDesc

We had two nearly identical cases for handling constants,
and two quite-different conflated cases.  Combine the two
constant cases and separate the two val-vs-type cases.

Reviewed By: @ottoni

Differential Revision: D1155243
Add fill-column local variables to spec files

At least for emacs users, the default is smaller than we're
standardizing on.

Reviewed By: @jasone

Differential Revision: D1154516