Update to dlmalloc 2.8.6 and set HAVE_MMAP to 0 only if compiling under EMSCRIPTEN to fix an allocator failure issue on OSX when building test_dlmalloc to native code. Fixes #730.
Skip, or simulate success for the test_dlmalloc test that checks memory allocation linearity/contiguity when compiling it natively to OSX. On that platform, this condition has been detected to not hold. Retain the check still for other platforms.
prepare jpeg as well as jpg
fix gl flush assertion
fix and test glIsProgram
set alpha to false in WebGL rendering - it represents the screen, so no alpha is needed
memory checks for glReadPixels
ensure no writes out of the buffer area in glReadPixels
improve glIsProgram testing
show version and git revision in emcc --version
disable closure if debug info was requested (-g)
use registerize only when not keeping debug, and also use it when closure is disabled, not just ASM_JS mode (which is just one case where closure is disabled)
fix registerize bug on functions with arguments but no locals
default closure to off in all optimization levels - we rely on registerize for much faster effects on runtime speed
remove no longer needed --closure 0 from some tests
remove not-yet-needed assert in addFunction
remove asm memory masking per the new spec
another gl workaround
remove PGO option. It is only relevant for non-ta2 builds, which are on the way to deprecation, and it in the best case is not a precise optimization but an optimistic one
remove PROFILE option. It adds unacceptable overhead, and all browsers have proper JS profilers these days - use those