Commit becc54bb authored by seven-mile's avatar seven-mile
Browse files

fix: insert add

No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -346,6 +346,7 @@ struct CodeGen {
addInst->lhs = AsmReg::sp();
addInst->rhs = lowerImm(argsOffset);
addInst->dst = AsmReg::sp();
asmLabel->push_back(addInst);
// 返回值 mov value, r0 / s0
if (!irCallInst->getType()->isVoidTy()) {
auto *preg =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment