Update Compiler.cpp

Remove redundant uint8_t(0) casts
This commit is contained in:
Arseny Kapoulkine 2022-01-12 08:25:52 -08:00 committed by GitHub
parent 690a0ba649
commit 46578ca23e
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -369,7 +369,7 @@ struct Compiler
}
fastcallLabel = bytecode.emitLabel();
bytecode.emitABC(opc, uint8_t(bfid), uint8_t(args[0]), uint8_t(0));
bytecode.emitABC(opc, uint8_t(bfid), uint8_t(args[0]), 0);
if (opc != LOP_FASTCALL1)
bytecode.emitAux(args[1]);
@ -385,7 +385,7 @@ struct Compiler
}
if (args[i] != regs + 1 + i)
bytecode.emitABC(LOP_MOVE, uint8_t(regs + 1 + i), uint8_t(args[i]), uint8_t(0));
bytecode.emitABC(LOP_MOVE, uint8_t(regs + 1 + i), uint8_t(args[i]), 0);
}
}
else