Closed Bug 623069 Opened 14 years ago Closed 13 years ago

GCHiddenPointer doesn't need to hide its copy ctor

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: stejohns, Assigned: stejohns)

Details

Attachments

(1 file)

Just what it says -- it does so presumably out of copy-n-paste from other smart-pointerish classes, but there's no justification for it, and blocking it prevents a use in Flash that will be handy. (Yes, GCHiddenPointer is kinda evil and deprecated, but until it's actually slated for demolition, we might as well make it convenient.)
Attached patch PatchSplinter Review
The magic of "explicit" is probably what we wanted (to avoid temporaries being created)...
Assignee: nobody → stejohns
Attachment #501188 - Flags: superreview?(lhansen)
Attachment #501188 - Flags: review?(treilly)
(In reply to comment #0)
> (Yes, GCHiddenPointer is kinda evil
> and deprecated, but until it's actually slated for demolition, we might as well
> make it convenient.)

That doesn't make sense: if it's evil and deprecated then making it convenient can only make it harder to remove it later.
Comment on attachment 501188 [details] [diff] [review]
Patch

Seems fine although if we're touching player code that's using GCHiddenPointer we should think about removing it or at least creating a player bug with thoughts on how it could be done.
Attachment #501188 - Flags: review?(treilly) → review+
(In reply to comment #2)
> That doesn't make sense: if it's evil and deprecated then making it convenient
> can only make it harder to remove it later.

Er. Yeah. Guilty as charged.
Comment on attachment 501188 [details] [diff] [review]
Patch

Holding my nose, SR+.
Attachment #501188 - Flags: superreview?(lhansen) → superreview+
Even though I accepted this I bonged Steven's player change that used this so this bug should be closed now I think?
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
bulk verifying resolved !fixed issues
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: