Skip to content

Commit

Permalink
gc
Browse files Browse the repository at this point in the history
  • Loading branch information
DQNEO committed Aug 14, 2023
1 parent 1927fbd commit eb4739a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/codegen/codegen.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,6 @@ func emitCall(fv *ir.FuncValue, args []ir.MetaExpr, paramTypes []*types.Type, re
emitExpr(arg)
emitPop(sema.Kind(paramType))
printf(" leaq %d(%%rsp), %%rsi # place to save\n", offsets[i])
printf(" pushq %%rsi # place to save\n")
printf(" popq %%rsi # place to save\n")
printf(" movq 0(%%rcx), %%rcx # load eface.data\n", 0)
printf(" movq %%rcx, %d(%%rsi) # store eface.data\n", 0)
printf(" movq %%rax, %%r12 # copy eface.dtype\n", 0) //@TODO %r12 can be overwritten by another expr
Expand Down

0 comments on commit eb4739a

Please sign in to comment.