Closed Bug 693613 Opened 13 years ago Closed 6 years ago

Field init_scope_depth in structure method_body_info is only used trivially.

Categories

(Tamarin Graveyard :: Documentation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: edwsmith, Unassigned)

Details

from avm2overview.doc

[Lars wrote] 
It appears that the idea here is that init_scope_depth gives the size of the scope stack over which the method has closed, ie, the number of scopes outside the function.

However, the AVM does not use this information for that purpose, it only uses it to compute the size of the actual local scope stack as the difference between max_scope_depth and init_scope_depth.  In other words, it appears that setting this field to 0 always has no negative consequences.

edwsmith confirms this and suggests this field be removed in future abcfile formats.
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 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.