(typ super.Type, v uint64, length uint32)
| 18 | } |
| 19 | |
| 20 | func NewConstUint(typ super.Type, v uint64, length uint32) *Const { |
| 21 | vec := NewUint(typ, []uint64{v}) |
| 22 | return &Const{vec, length} |
| 23 | } |
| 24 | func NewConstInt(typ super.Type, v int64, length uint32) *Const { |
| 25 | vec := NewInt(typ, []int64{v}) |
| 26 | return &Const{vec, length} |