# InternPool: add ptr-to-int value · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/68b95a39b1fe734b938ec02fa2b16bbb63170f87)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 68b95a39b1fe734b938ec02fa2b16bbb63170f87

Requested commit: 68b95a39b1fe734b938ec02fa2b16bbb63170f87

Commit: 68b95a39b1fe734b938ec02fa2b16bbb63170f87

Tree: b86f3f97c04c23ad7e23d910d0fe65d5b06f27b4

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
InternPool: add ptr-to-int value

Also modify coercion in Sema to be InternPool-aware by calling
getCoerced.

The unnecessary comptime logic in mod.intValue is deleted too

```

## Parents

- [fd674d95bee4815783bb282c80ba6af369296706](https://git.cafe/gitcafe/zig/commit/fd674d95bee4815783bb282c80ba6af369296706?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/68b95a39b1fe734b938ec02fa2b16bbb63170f87?format=markdown)
