diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-11-22 11:08:20 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-11-22 11:46:26 +0100 |
| commit | 7e076b78b466a2f4ad0ce9c20161758d9ad52087 (patch) | |
| tree | 4950df62d188f56c05915fdeca634d314ca21556 /prog/mutation.go | |
| parent | e06afd32595ba7831f6ae600fde04a4e66e37db7 (diff) | |
prog: export MakeData/UnionArg as we do for other arg types
Target code can use these to generate special structs.
Diffstat (limited to 'prog/mutation.go')
| -rw-r--r-- | prog/mutation.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/mutation.go b/prog/mutation.go index ca5cb8874..920888c2b 100644 --- a/prog/mutation.go +++ b/prog/mutation.go @@ -197,7 +197,7 @@ func (p *Prog) Mutate(rs rand.Source, ncalls int, ct *ChoiceTable, corpus []*Pro } p.removeArg(c, a.Option) opt, calls := r.generateArg(s, optType) - arg1 := unionArg(t, opt, optType) + arg1 := MakeUnionArg(t, opt, optType) p.replaceArg(c, arg, arg1, calls) case *LenType: panic("bad arg returned by mutationArgs: LenType") |
