Bug 621961 will inline some common builtins, but to make Math.abs(x) as fast as abs(x) we still have to optimize the getgname "Math" Talked about this with bhackett on IRC, we can reuse the singleton JSObject* introduced by 621961. getgname can then push a frame entry with constant value (and not generate any code)
Summary: TI: optimize access to globals with singleton TypeObject's → TI: optimize access to globals with singleton TypeObjects
Done as part of some other bugs.
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.