Closed Bug 1178381 Opened 11 years ago Closed 11 years ago

AbstractFramePtr should be wrapper around mozilla::Variant instead of implementing its own tagged union

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: fitzgen, Unassigned)

References

Details

Would clean up the code quite nicely.
How many words is Variant? AbstractFramePtr uses the low-bits pointer tagging trick.
(In reply to Shu-yu Guo [:shu] from comment #1) > How many words is Variant? AbstractFramePtr uses the low-bits pointer > tagging trick. Ah, dang. Variant uses a whole word for the tag because it doesn't know anything about its contained types and can't make assumptions.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.