kripken/emscripten — pull request #2038 by rfk (2014-01-20 10:01:47+00:00)
Title: Fix a param-handling bug in normalizeAsm

normalizeAsm() can sometimes remove leading statements from the function body, if they are a similar shape to a parameter declaration. This patch adds an additional check to be sure that each parameter is processed only once.