[NFC] Refactor getDroppedChildrenAndAppend (#4849)
[NFC] Refactor getDroppedChildrenAndAppend (#4849)


WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen