TI: optimize access to globals with singleton TypeObjects

RESOLVED FIXED

Status

()

defect
RESOLVED FIXED
9 years ago
8 years ago

People

(Reporter: jandem, Assigned: jandem)

Tracking

(Blocks 1 bug)

Firefox Tracking Flags

(Not tracked)

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