This commit is contained in:
parent
c9c6b94c18
commit
3301cf5542
49 changed files with 690 additions and 262 deletions
|
@ -10,6 +10,7 @@ type Parameter struct {
|
|||
Index uint8
|
||||
Name string
|
||||
Typ types.Type
|
||||
Id
|
||||
Liveness
|
||||
Source
|
||||
}
|
||||
|
@ -32,6 +33,10 @@ func (v *Parameter) IsConst() bool {
|
|||
return true
|
||||
}
|
||||
|
||||
func (v *Parameter) Debug() string {
|
||||
return v.String()
|
||||
}
|
||||
|
||||
func (v *Parameter) String() string {
|
||||
return fmt.Sprintf("in[%d]", v.Index)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue