Closed Bug 474330 Opened 17 years ago Closed 7 years ago

nativegen.py-generated thunks need to unbox receivers

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: stejohns, Unassigned)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
Old MIR-generated thunks cleared the atom-type bits on the receiver, as there were code paths where a raw atom are possible. New thunks need to do this too.
Attachment #357709 - Flags: review?(edwsmith)
Note, in theory this is needed when a class overrides an Object-based native method and then is called via an Atom-typed var; XML.hasOwnProperty is a good example. In practice I haven't yet found a test case that will repro in avmshell alone (bug was found in Flash integration) but fix is clearly necessary -- followup work should identify an exact testcase however.
Flags: in-testsuite?
Comment on attachment 357709 [details] [diff] [review] Patch patch looks fine, lets leave this open until we either have a test case why masking is needed, or a remove the masking
Attachment #357709 - Flags: review?(edwsmith) → review+
agreed on leaving open for now. pushed patch as changeset: 1317:197b599266f9
Target Milestone: --- → Future
Assignee: stejohns → nobody
Flags: flashplayer-qrb+
Flags: flashplayer-injection-
Flags: flashplayer-bug-
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: