# stage2: implement function parameters · gitcafe/zig

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

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

Visibility: public

Requested revision: aa92446365b97e167c4162122c66a02b4cbca031

Requested commit: aa92446365b97e167c4162122c66a02b4cbca031

Commit: aa92446365b97e167c4162122c66a02b4cbca031

Tree: 1844fc64f41303478182e86cb7dca5aad956dab0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: implement function parameters

In codegen.zig, the std.Target.Cpu.Arch is now generally available as a
comptime value where needed. This is a tradeoff that causes the compiler
binary to be more bloated, but gives us higher performance, since the
optimizer can optimize per architecture (which is usually how compilers
are designed anyway, with different code per-architecture), and it also
allows us to use per-architecture types, such as a Register enum that is
specific to the comptime-known architecture.

Adds abiSize method to Type.

```

## Parents

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

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