Open Bug 1198056 Opened 9 years ago Updated 2 years ago

Convert the proxy hooks from a vtable to an explicit struct of function pointers

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

People

(Reporter: Waldo, Unassigned)

References

Details

Right now it's tricky to add hooks and *know* you've defined each proxy handler hook correctly, because omitting a hook from a derived class will silently "work", if a base class defines the hook.  And if the base definition isn't good enough, that's (silently) really bad.

Additionally, defining hooks through the vtable means we can't form function pointers to them, which it'd be nice to be able to do in the JITs.  (There are certain implementation tactics that depend upon this capability, that I think we'll want to do at some point.)

So let's convert the vtable to an explicit set of function pointers, for clarity.
Blocks: 1187234

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: jwalden → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.