# x86_64: add frame indices · gitcafe/zig

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

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

Visibility: public

Requested revision: 26d4f9b69e087f3a9ef818f878f12affc94317f9

Requested commit: 26d4f9b69e087f3a9ef818f878f12affc94317f9

Commit: 26d4f9b69e087f3a9ef818f878f12affc94317f9

Tree: 6f9029aca24e97d961fcfbb10c09191b568eae83

Author: Jacob Young

Committer: Jacob Young

## Message

```
x86_64: add frame indices

This allows abstract references to the stack frame which enables:
 * deferred frame layout until after the function has been processed
 * frame compaction (sorting by alignment)
 * being able to overalign the stack
 * references that change based on an overaligned stack
 * moving callee saved spills to the usual part (smaller code size)
 * shared call frame (avoids stack adjustments before and after calls)

```

## Parents

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

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