summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2020-06-16 20:47:37 -0700
committerGitHub <noreply@github.com>2020-06-16 20:47:37 -0700
commit6bff9f079a8e7b33bb616ea0731d592072dc53dd (patch)
tree0e16226b594f1132b652d55cfc0211e0ab3563db /.github
parent3239018f403d8fe0f20a914032c7fb1bf8c1c358 (diff)
downloadwabt-6bff9f079a8e7b33bb616ea0731d592072dc53dd.tar.gz
wabt-6bff9f079a8e7b33bb616ea0731d592072dc53dd.tar.bz2
wabt-6bff9f079a8e7b33bb616ea0731d592072dc53dd.zip
Update local bindings on function with type use (#1466)
When a function is specified like this: (func (type $t) ...) the type can have any sequence of params and results, but it is not known what that signature is until it is resolved. However, locals that are parsed will be given a binding index under the assumption that the signature is empty, e.g. (func (type $t) (local $v0 i32) (local $v1 i32) ... ) So `$v0` will have index 0, and `$v1` will have index 1. If it turns out later that type `$t` has any parameters, then these indexes need to be updated.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions