Tamarin::AVM2 Overview Errata: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
(greaterequals)
Line 4: Line 4:


On page 25, "The number of optional parameters is given by option_count, which must not be zero nor greater than the ''parameter_count'' field of the enclosing method_info structure" should read ''param_count''.
On page 25, "The number of optional parameters is given by option_count, which must not be zero nor greater than the ''parameter_count'' field of the enclosing method_info structure" should read ''param_count''.
On page 66, instruction name is ''greaterequals'' but format, forms, and description are those of ''greaterthan'.

Revision as of 15:35, 17 August 2007

Enter possible errata for the AVM2 Overview.

On page 15, "Registers 1 through method_info.param_count holds parameter values coerced to the declared types of the parameters. If fewer than method_body_info.local_count values are supplied to the call then the remaining values are either the values provided by default value declarations (optional arguments) or the value undefined." may be technically correct, but "If fewer than method_info.param_count values are supplied" reads better with "The rest of registers are initialized to the value undefined" added after NEED_REST and NEED_ARGUMENTS clauses.

On page 25, "The number of optional parameters is given by option_count, which must not be zero nor greater than the parameter_count field of the enclosing method_info structure" should read param_count.

On page 66, instruction name is greaterequals but format, forms, and description are those of greaterthan'.