summaryrefslogtreecommitdiff
path: root/test/binaryen.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-01-14 16:43:56 +0000
committerGitHub <noreply@github.com>2021-01-14 08:43:56 -0800
commit01e0c98eb75ed389441ada253bcf02dbc8f1f6ef (patch)
tree47fbe85701555eee891d24d29c05794947f6fde0 /test/binaryen.js
parentfcbefa951e3e514f6b7555664b89fb786850f6bc (diff)
downloadbinaryen-01e0c98eb75ed389441ada253bcf02dbc8f1f6ef.tar.gz
binaryen-01e0c98eb75ed389441ada253bcf02dbc8f1f6ef.tar.bz2
binaryen-01e0c98eb75ed389441ada253bcf02dbc8f1f6ef.zip
Avoid usedElements around code that modifys that value (#3488)
Followup to #3486, I wonder if it isn't a little more clear this way, which avoids the confusion of usedElements being changed while we are using it. In general I think it's best to only use usedElements in the most internal methods, and to call size() otherwise.
Diffstat (limited to 'test/binaryen.js')
0 files changed, 0 insertions, 0 deletions