Open Bug 855854 Opened 12 years ago Updated 2 years ago

IonMonkey: Add MArrayDispatch instruction

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

People

(Reporter: nbp, Unassigned)

References

Details

GetElementIC can be replaced by a MArrayDispatch when we know that we have a finite number of inlined cases indexed by the type inference. Instead of producing a GetElementIC in jsop_getelem and the equivalent in jsop_length, we can make a MArrayDispatch instruction and specialized for each kind of array that we expect.
I'm interested in to fix this bug. But I think my knowledge is lack to fix it. Would you mind helping me to fix this bug? > GetElementIC can be replaced by a MArrayDispatch when we know that > we have a finite number of inlined cases indexed by the type inference. Why GetElementIC can be replaced by a MArrayDispatch when we know that we have a finite number of inlined cases indexed by the type inference? MArrayDispatch can get element by index? How get index?
Assignee: general → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.