Closed Bug 742562 Opened 12 years ago Closed 12 years ago

IonMonkey: Inline allocation for JSOP_NEWARRAY

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sstangl, Assigned: sstangl)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

JSOP_NEWOBJECT should use the MacroAssembler's getNewObject() path where possible. In terms of benchmarks, this mostly affects v8-splay; 3d-cube; and a few kraken tests, especially crypto-ccm.
Ahem, that should have read JSOP_NEWARRAY.
Assignee: general → sstangl
Brings splay 125ms -> 112ms. Combined with JSOP_NEWOBJECT patch, splay goes from 125ms -> 82ms. 3d-cube goes from ~35ms to ~32ms, not a significant change.
Attachment #612418 - Flags: review?(dvander)
Attachment #612418 - Flags: review?(dvander) → review+
https://hg.mozilla.org/projects/ionmonkey/rev/d20c0126f0f9
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.