Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
OneLastCompiler
compiler
Commits
becc54bb
Commit
becc54bb
authored
9 months ago
by
seven-mile
Browse files
Options
Download
Patches
Plain Diff
fix: insert add
parent
d81c2be1
main
canonicalize
djh
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/olc/backend/CodeGen.h
+1
-0
include/olc/backend/CodeGen.h
with
1 addition
and
0 deletions
+1
-0
include/olc/backend/CodeGen.h
+
1
−
0
View file @
becc54bb
...
...
@@ -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
=
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets