Closed Bug 742561 Opened 12 years ago Closed 12 years ago

IonMonkey: Inline allocation for JSOP_NEWOBJECT.

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 only affects v8-splay, which hits the LNewObject callVM() path 508,999 times.
Easy, since all the existing machinery can be reused.
Makes v8-splay ~25% faster locally on x86. (125ms -> 95ms.)
Attachment #612403 - Flags: review?(dvander)
Attachment #612403 - Flags: review?(dvander) → review+
https://hg.mozilla.org/projects/ionmonkey/rev/f798ae7a24ce
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.

Attachment

General

Created:
Updated:
Size: