Closed Bug 1509537 Opened 1 year ago Closed 1 year ago

Simplify JSOP_INITHOMEOBJECT

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(1 file)

JSOP_INITHOMEOBJECT has an int8 operand that determines where the home object is located on the stack. It would be simpler to emit JSOP_DUPAT first so JSOP_INITHOMEOBJECT only has to care about the two values on top of the stack.
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6b3e2ddccf10
Simplify JSOP_INITHOMEOBJECT, emit JSOP_DUPAT to put the home object on top of the stack. r=arai
https://hg.mozilla.org/mozilla-central/rev/6b3e2ddccf10
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.