Added simple variable lifetimes

This commit is contained in:
Eduard Urbach 2024-06-27 15:23:02 +02:00
parent 9e3112ad52
commit 6b5bc22ec6
Signed by: eduard
GPG key ID: 49226B848C78F6C8
6 changed files with 107 additions and 39 deletions

View file

@ -6,6 +6,7 @@ import (
// Variable represents a variable in a function.
type Variable struct {
Name string
Register cpu.Register
Name string
Register cpu.Register
UsesRemaining int
}