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.
123456789101112package core
import "git.urbach.dev/cli/q/src/ssa"
// findIdentifier returns the value for an identifier,// whether it exists and whether it's partially defined.func (f *Function) findIdentifier(name string) (ssa.Value, bool, bool) { value, exists := f.Block().FindIdentifier(name) phi, isPhi := value.(*ssa.Phi) partial := isPhi && phi.IsPartiallyUndefined() return value, exists, partial}