Traits::genDefaultValue shouldn't init object-typed slots

VERIFIED FIXED

Status

Tamarin
Virtual Machine
VERIFIED FIXED
9 years ago
9 years ago

People

(Reporter: Steven Johnson, Assigned: Steven Johnson)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

9 years ago
Created attachment 358252 [details] [diff] [review]
Patch

existing code relies on the fact that for object-typed member slots, we don't generate explicit initialization code for the slot as part of the ctor, but rather just leave the slot alone (it's allocated pre-zeroed-out)... this allows assignments to inherited members to work when done prior to the super call.
Attachment #358252 - Flags: review?(edwsmith)

Updated

9 years ago
Attachment #358252 - Flags: review?(edwsmith) → review+
(Assignee)

Comment 1

9 years ago
pushed to redux as changeset:   1321:f5171e2501df
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED

Comment 2

9 years ago
Resolved fixed engineering / work item that has been pushed.  Setting status to verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.