# wasm: rename 'self' to more explanatory name · gitcafe/zig

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

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

Visibility: public

Requested revision: 0aa23fe8b7b8ae3b3b0a4716e1d92a8116b1377e

Requested commit: 0aa23fe8b7b8ae3b3b0a4716e1d92a8116b1377e

Commit: 0aa23fe8b7b8ae3b3b0a4716e1d92a8116b1377e

Tree: 4281a32c74e1045c62df0fc95d75f0c08c09345d

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: rename 'self' to more explanatory name

'Self' isn't a very good name to describe what it does.
This commit changes the type name into `CodeGen` and the parameter
to `func` as we're generating code for a function.
With this change, the backend's coding style is in line with the
self-hosted Wasm-linker.

```

## Parents

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

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