this seems wrong, it will lead to integers turned into floats due to two lines down, which will fail asm validation. Are you running the test suite with spidermonkey among JS_ENGINES?

A more likely solution seems to me to move the line under this, 3 lines down so it is out of the if, perhaps.