Open Bug 825276 Opened 12 years ago Updated 2 years ago

Inline the fast path of JS_WrapValue/JS_WrapObject

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

References

Details

Attachments

(1 file)

Waldo thinks that us working around the lack of such inlining is nuts.  I'm glad he does!
I just realized that given same-compartment wrappers I have no idea what the fast path should actually be.  :(
Well, anything that's not an element or Components doesn't need a SCSW. Not sure how much that helps you.

FWIW, SCSWs aren't long for this earth. I'm close to killing SOWs, and then we can just hack something up for Components.
> Not sure how much that helps you.

Not at all for JSAPI, since it has no idea about elements and such.

Is there a bug on killing SOWs I can mark this dependent on?
(In reply to Boris Zbarsky (:bz) from comment #4)
> Is there a bug on killing SOWs I can mark this dependent on?

Just filed one. bug 825392.
Depends on: 825392
No longer depends on: 825392
Depends on: 958326
Assignee: general → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: