Backout 406904577dfc due to borked commit message.
Bug 1030014 - Fix a compile error in more-deterministic JS shells. r=sfink.