The refactoring that made the ArithDiv and ArithMod share a common path caused this bug. I think it's generally not a good idea to try to refactor such boilerplate paths into sharing code. Every time we do it, we get it wrong.
Created attachment 221536 [details] the patch
Landed on branch on http://trac.webkit.org/changeset/162246