Fix stupid bug. Closes #2

This commit is contained in:
Curle 2020-09-11 03:30:09 +01:00
parent 59329d963f
commit 84fbd5bd61
Signed by: TheCurle
GPG Key ID: 2F2E62F0DA69A5AE

View File

@ -412,7 +412,7 @@ int AsCall(int Register, int FuncID) {
fprintf(OutputFile, "\tcall\t%s\n", Symbols[FuncID].Name);
fprintf(OutputFile, "\tmovq\t%%rax, %s\n", Registers[OutRegister]);
DeallocateRegister(OutRegister);
DeallocateRegister(Register);
return OutRegister;
}