Closed Bug 945808 Opened 11 years ago Closed 8 years ago

Optimize assignments and accesses of typed object data of reference type

Categories

(Core :: JavaScript Engine: JIT, defect, P5)

x86
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: nmatsakis, Unassigned)

References

Details

Currently we do not optimize accesses to data of reference type (object, string, etc) that is found in a typed object. We do optimize scalars etc. This shouldn't be hard to do but there is probably some work needed to adjust the MIR for loading references to handle typed object data, which is found at (aligned, but otherwise arbitrary) offsets in a void*.
Brian, any chance you've optimized this during your typed objects/unboxed objects work?
Flags: needinfo?(bhackett1024)
Priority: -- → P5
Yes, we optimize loads reference types from typed objects and unboxed objects.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(bhackett1024)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.