Something went wrong. Try again.
🌱 A minimal programming language and compiler. git.urbach.dev/cli/q
high-performance programming-language compiler
Something went wrong. Try again.
1234567891011121314151617181920212223242526package codegen
import ( "git.urbach.dev/cli/q/src/asm" "git.urbach.dev/cli/q/src/ssa")
func (f *Function) executeInt(step *Step, instr *ssa.Int) { destination := step.Register
if destination == -1 { return }
isSpilled := f.isSpilled(destination)
if isSpilled { f.storeSpillNumber(step, instr.Type(), instr.Int) return }
f.Assembler.Append(&asm.MoveNumber{ Destination: destination, Number: instr.Int, })}