add reg.Type

This commit is contained in:
Michael McLoughlin
2018-12-02 15:15:00 -08:00
parent bc7d0fa410
commit f18271ada5
3 changed files with 20 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ func LabelTarget(fn *avo.Function) error {
return nil
}
// CFG constructs the call-flow-graph of each function.
// CFG constructs the call-flow-graph for the function.
func CFG(fn *avo.Function) error {
is := fn.Instructions()
n := len(is)