Closed Bug 637888 Opened 13 years ago Closed 13 years ago

TI: optimize access to globals with singleton TypeObjects

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 1 open bug)

Details

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
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.