The default bug view has changed. See this FAQ.

TI: optimize access to globals with singleton TypeObjects

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jandem, Assigned: jandem)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

6 years ago
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)
(Assignee)

Updated

6 years ago
Summary: TI: optimize access to globals with singleton TypeObject's → TI: optimize access to globals with singleton TypeObjects
(Assignee)

Comment 1

6 years ago
Done as part of some other bugs.
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.