Closed Bug 1236546 Opened 10 years ago Closed 10 years ago

Don't deoptimize in ObjectGroup::defaultNewGroup when we have no proto

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
I think we can change this condition: if (!proto.isObject() || proto.toObject()->isNewGroupUnknown()) initialFlags = OBJECT_FLAG_DYNAMIC_MASK; to: if (proto.isLazy() || (proto.isObject() && proto.toObject()->isNewGroupUnknown()))
Attachment #8703633 - Flags: review?(bhackett1024)
Attachment #8703633 - Flags: review?(bhackett1024) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Depends on: 1237998
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: