Closed Bug 722622 Opened 13 years ago Closed 13 years ago

no_such_method_trace (trace function for NoSuchMethod objects) is unnecessary

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: jimb, Unassigned)

Details

Attachments

(1 file)

This is kind of embarrassing, but: Since js_NoSuchMethodClass is a native class, it doesn't need a custom trace function; the normal slot traversal will reach the function and id slots. I've verified this in the debugger, and will later be proposing a patch that actually verifies that the slots are being marked properly.
Try: https://tbpl.mozilla.org/?tree=Try&rev=fa7f1b5bc7e0 I've also run all the tests in js/src/tests and js/src/jit-test that use __noSuchMethod__ with --gczeal=1 and --gczeal=2; seems fine.
Attachment #592996 - Flags: review?(jwalden+bmo)
Attachment #592996 - Flags: review?(jwalden+bmo) → review+
Status: NEW → ASSIGNED
Flags: in-testsuite+
OS: Linux → All
Hardware: x86_64 → All
Target Milestone: --- → mozilla13
Status: ASSIGNED → RESOLVED
Closed: 13 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: