Remove src index arguments to emitCompare[Int]

They are always the same; this removes the unnecessary generality.

Reviewed By: @jdelong

Differential Revision: D1177855
Fix eof->fwrite->feof

Fixes #1820
Part of guzzle/guzzle#538

Reviewed By: @ptarjan

Differential Revision: D1176448
Cleanup some preg stuff before fixing limit

This fixes two bugs / nits that make changing the limits hard:

* We didn't test correctly for the AtomicHashArray being full.
* Inline / kill a function that would pull the regular expression directly.

This also makes the functions return false on full cache rather than
error out.

Reviewed By: @ptarjan

Differential Revision: D1173718
Fix issues with sleep and inaccessible properties

Fix various bugs, and avoid lots of redundant work.

Closes #1565
Closes #1793

Reviewed By: @ptarjan

Differential Revision: D1176885
Dump a jemalloc pprof dump whenever a request OOMs

This extends our jemalloc dumping infrastructure to additionally dump whenever a thread OOMs assuming we have already turned on jemalloc profiling.

Reviewed By: @edwinsmith

Differential Revision: D1169375
Implement streamWrapper::stream_stat

Implement streamWrapper::stream_stat

Closes #1794

Reviewed By: @ptarjan

Differential Revision: D1173753

Pulled By: @scannell
Fix pointer overflow in fb_unserialize

Reviewed By: @edwinsmith

Differential Revision: D1178110
Adding functional support for Channeled Json

Funcitonal changes needed for supporting the channeled json format.

Reviewed By: afrind

Differential Revision: D1172001
Add excludes to license tool
Update license headers
don't block on eof()

Reviewed By: @fredemmott

Differential Revision: D1178064
Update .travis.yml

Just a typo in a comment
allow a[0][1] = 2 in the ini parser

I want this for replacing .hdf

Reviewed By: @fredemmott

Differential Revision: D1178147
Remove the pseudo-DCE of arguments to Call

We can't convince ourselves of the soundness of this optimization, so
it's going. It's similar to the SpillStack optimization we removed
previously.

This gets rid of the last use of Type::None as a type param in an
IRInstruction, so I'm putting in an assert to that effect.

Reviewed By: @edwinsmith

Differential Revision: D1166284
Make method_exists work with interface inheritance

This matches PHP 5.5.

Reviewed By: @scannell

Differential Revision: D1171617
Fix a typo in thisAvailable flag

Reviewed By: @edwinsmith

Differential Revision: D1177869
Add a global dce pass for hhbbc

Leaving it off by default because bugs in it would be hard to
track, and for now it doesn't remove very many more stores (I suspect
because hphpc is doing this also).  We can turn it on when it does
more and after more testing.

Reviewed By: @swtaarrs

Differential Revision: D1177838
Tweak Type to make it easier to add data with non-trivial copy constructors

I think we're probably going to want to put things in Data
that have non-trivial copy constructors at some point (e.g. for
non-static array subtypes), and more than once I've wanted to do it
temporarily as part of prototyping a type system change.  Using
folly::Optional<> makes it hard for this case, because Data is a union
and would have to have a copy constructor, but it doesn't know how to
copy itself because it doesn't contain its own type tag.

Reviewed By: @swtaarrs

Differential Revision: D1177979
Handle non-trivial Type::Data copying, put the wait handle type into DObj

It seems more natural in here.  It should probably get its
own DataTag later, but for now this keeps dobj_of, is_specialized_obj,
and a few other things working with fewer special cases (which would
involve carrying around a pointer to the Index if it has a wait handle
to be able to get a res::Class for WaitHandle later).

This also adds a separate tag for specialized data.  This should make
things a little easier when adding new types that can have data,
because we can have exhaustive switch statements.  It also means we
can have some type bit patterns that could support multiple types of
data later (I will probably need this for arrays).

Reviewed By: @swtaarrs

Differential Revision: D1178029
Actually enable FuncFamilies

Previous diff forgot to actually toggle the bit.

Reviewed By: @dariorussi

Differential Revision: D1177934