# ir: Prevent crash when slicing hardcoded pointer · gitcafe/zig

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

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

Visibility: public

Requested revision: 0cd953d40ea0f6934a0900f7ad8593e5deaf6efd

Requested commit: 0cd953d40ea0f6934a0900f7ad8593e5deaf6efd

Commit: 0cd953d40ea0f6934a0900f7ad8593e5deaf6efd

Tree: b594359b1f26078553200d6510e983f3a859243a

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
ir: Prevent crash when slicing hardcoded pointer

Closes #4780

```

## Parents

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

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