Fix typo in GL library abort function case.
Fix (harmless) out-of-bounds access on vertex attribute indices in GL emulation init when GL_FFP_ONLY is set.
Implement glGetTexEnviv and glGetTexEnvfv in GL emulation mode.
Fix typo in case of abort_noSupport in library_gl.js.
Add test for glGetTexEnv implementation. Fix output of GL_TEXTURE_ENV_COLOR color data from glGetTexEnvfv.
Fix GLImmediate signature after rebase.
Fix default vertex color to (1,1,1,1) and properly enable correct attribute streams when doing immediate mode rendering when GL_FFP_ONLY is set.
Add test for s3tc.c rendering when GL_FFP_ONLY flag is set.
avoid unresolved symbol warnings on misc funcs in fastcomp
fastcomp updates and a test for fptosi|ui on floats and doubles
eliminate llvm_prefetch; fixes #2043
skip test_debug in asm3
some headless additions
fix some sdl typos that error on safe heap in asm mode, and add test coverage; fixes #2044
Merge pull request #1905 from juj/glGetTexEnv

Gl get tex env
Reduce memory usage when assigning registers in a block.

Rather than pre-calculating liveness states and then processing nodes
in execution order, we process nodes in reverse execution order and
use the liveness info implicit in this traversal.  Names are assigned
a register when they're used for the first time, and the register is
freed when we reach an assignment.
Add dedicated testcases for registerizeHarder pass.
Simplify handling of switch statements in registerizeHarder.

It now assumes they're of the very restricted for that's actually
produced by emscripten, which both simplified the code and uncovered
opportunities for further register reduction in a testcase.
Add TODO about more permissive label handling in registerizeHarder