[DRIVER] Fix typos (#939)

This commit is contained in:
Yang Hau
2022-12-03 03:13:46 +08:00
committed by GitHub
parent 44f577984d
commit 8650b4d1cb
8 changed files with 60 additions and 60 deletions

View File

@@ -91,7 +91,7 @@ void inliner::do_inline(ir::function* fn, ir::call_inst* callsite, ir::builder&
if(inst_map.find(inst_op) != inst_map.end())
new_inst->set_operand(k, inst_map.at(inst_op));
}
// handles a ret instruciton.
// handles a ret instruction.
// instead of returning we need to branch to after the function call
if(ir::return_inst* ret = dynamic_cast<ir::return_inst*>(new_inst)) {
if(ir::value* ret_val = ret->get_return_value())