fix formatting

This commit is contained in:
DH 2025-04-05 23:10:22 +03:00
parent 4797d1401b
commit c08f7b4ef2
7 changed files with 18 additions and 12 deletions

View file

@ -468,7 +468,8 @@ inline void generateInstructions(std::set<std::string> &composites,
}
if (inst["opname"] == "OpTypeVoid") {
instructionDecoderBody += " if (voidType != nullptr) {\n";
instructionDecoderBody += " voidType.replaceAllUsesWith(inst);\n";
instructionDecoderBody +=
" voidType.replaceAllUsesWith(inst);\n";
instructionDecoderBody += " voidType.remove();\n";
instructionDecoderBody += " }\n";
instructionDecoderBody += " voidType = inst;\n";