Fix stupid bug. Closes #2
This commit is contained in:
parent
59329d963f
commit
84fbd5bd61
|
@ -412,7 +412,7 @@ int AsCall(int Register, int FuncID) {
|
||||||
fprintf(OutputFile, "\tcall\t%s\n", Symbols[FuncID].Name);
|
fprintf(OutputFile, "\tcall\t%s\n", Symbols[FuncID].Name);
|
||||||
fprintf(OutputFile, "\tmovq\t%%rax, %s\n", Registers[OutRegister]);
|
fprintf(OutputFile, "\tmovq\t%%rax, %s\n", Registers[OutRegister]);
|
||||||
|
|
||||||
DeallocateRegister(OutRegister);
|
DeallocateRegister(Register);
|
||||||
return OutRegister;
|
return OutRegister;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user