Open Bug 771500 Opened 12 years ago Updated 3 years ago

IonMonkey: Implement argument setters

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: nbp, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [ion:t])

Attachments

(1 file)

As of today this bug is not a priority for benchmarks but a sub-part of it was implemented with Bug 735406.

Argument setter are not yet compiled with IonMonkey because they are multiple case to handle because formal arguments and actual arguments are not handle the same way.

If the actual arguments are never manipulating any of the formal arguments, then there is no issue to handle actual arguments except that we need a new alias kind to order the set/get of the arguments.

If the formal arguments are read/write at the same time, we want to produce a dynamic get/set for each of the formal argument such as the get/set of the formal argument are handled by the alias analysis.

Another way would be to allocate the formal argument at a specific stack slot which correspond to their location in the actual argument vector.
This patch coming from Bug 735406, made by me, and reviewed by dvander.
https://bugzilla.mozilla.org/attachment.cgi?id=630619 and is waiting for check-in when this bug would be considered as important.
Attachment #639646 - Flags: review+
Assignee: general → nobody
Blocks: WarpBuilder
Severity: normal → --
Type: defect → enhancement
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: