# stage2: std.mem.eql works now · gitcafe/zig

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

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

Visibility: public

Requested revision: f58cbef1659742e57377d3f8c92a0b9b97af91ad

Requested commit: f58cbef1659742e57377d3f8c92a0b9b97af91ad

Commit: f58cbef1659742e57377d3f8c92a0b9b97af91ad

Tree: 43bc60f54b5a4252df309d9c3cb5dbe3aca20297

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: std.mem.eql works now

 * The `indexable_ptr_len` ZIR instruction now uses a `none_or_ref`
   ResultLoc. This prevents an unnecessary `ref` instruction from being
   emitted.
 * Sema: Fix `analyzeCall` using the incorrect ZIR object for the
   generic function callee.
 * LLVM backend: `genTypedValue` supports a `Slice` type encoded with
   the `decl_ref` `Value`.

```

## Parents

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

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