Wed, Dec 13, 2023
Assembly code is exactly the same:
auto f1(bool b) -> bool
{
if (b)
return true;
else
return false;
}
auto f2(bool b) -> bool
{
return b;
}
f1(bool): # @f1(bool)
mov eax, edi
ret
f2(bool): # @f2(bool)
mov eax, edi
ret
Next - Previous