gen_wasm: improve a code comment

This commit is contained in:
Brian Carroll 2022-11-26 15:38:48 +00:00
parent df972a4567
commit 82aa126353
No known key found for this signature in database
GPG Key ID: 5C7B2EC4101703C0

View File

@ -529,6 +529,7 @@ impl<'a> CodeBuilder<'a> {
self.inst_base(opcode, pops, false);
// We don't support block result types. Too hard to track types through arbitrary control flow.
// This results in slightly more instructions but not much. (Rust does the same thing!)
self.code.push(ValueType::VOID);
// Start a new block with a fresh value stack