Intrinsics can only be called directly, taking their address is not legal. This is currently only enforced for intrinsics that have an ID, rather than all intrinsics. Adjust the check to cover all intrinsics.
This came up in D106013.
Differential D106095
[Verifier] Extend address taken check for unknown intrinsics nikic on Jul 15 2021, 1:31 PM. Authored by
Details
Intrinsics can only be called directly, taking their address is not legal. This is currently only enforced for intrinsics that have an ID, rather than all intrinsics. Adjust the check to cover all intrinsics. This came up in D106013.
Diff Detail
|