# x86_64: remove loadMemPtrIntoRegister in genSetReg · gitcafe/zig

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

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

Visibility: public

Requested revision: ee6b4fad4714d596255f034c0b000438ee6ca943

Requested commit: ee6b4fad4714d596255f034c0b000438ee6ca943

Commit: ee6b4fad4714d596255f034c0b000438ee6ca943

Tree: 71539c5df0db2d9370a1b028f615feb4c72746df

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
x86_64: remove loadMemPtrIntoRegister in genSetReg

Add two emit helpers for linker reloc based `lea` and `mov`
instructions: `asmMovLinker` and `asmLeaLinker`.

```

## Parents

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

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