Closed Bug 1167433 Opened 11 years ago Closed 11 years ago

AccessorShape is not a layout / trace kind

Categories

(Core :: JavaScript: GC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: terrence, Assigned: terrence)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I'm not sure how I missed this before, but AccessorShape is a refinement AllocKind, like OBJECT4, than it is a TraceKind in its own right. It's not even in JSGCTraceKind and we don't actually use its inclusion in our list anywhere. We can remove it and it affects nothing.
Attachment #8609064 - Flags: review?(jcoppeard)
Comment on attachment 8609064 [details] [diff] [review] remove_accessorshape_layout-v0.diff Review of attachment 8609064 [details] [diff] [review]: ----------------------------------------------------------------- Looks good. Shouldn't AccessorShape be part of the FOR_EACH_GC_POINTER_TYPE list in Marking.cpp though?
Attachment #8609064 - Flags: review?(jcoppeard) → review+
Good call! In practice we always mark these as Shape*, so it happens not to matter at the moment, but it certainly will if we ever use this list for more things.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: