diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2016-10-29 16:06:40 -0600 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2016-11-11 14:32:38 -0800 |
| commit | f085c198ba2dd95ce46a66ec8f8e6b472c3cca14 (patch) | |
| tree | e9c1cdcd360bf3ffd03d2265484f72d07363a0fd /prog/mutation.go | |
| parent | 8b731ed4b705c3049af917f1c01db5b4a0bc59a1 (diff) | |
sys: replace FileoffType with IntType{Kind: IntFileoff}
FileoffType is effectively an int, no need for a separate type.
Also remove fd option from fileoff as it is unused and use story is unclear.
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 166d5a065..72535f656 100644 --- a/prog/mutation.go +++ b/prog/mutation.go @@ -60,7 +60,7 @@ func (p *Prog) Mutate(rs rand.Source, ncalls int, ct *ChoiceTable) { baseSize = base.Res.Size() } switch a := arg.Type.(type) { - case *sys.IntType, *sys.FlagsType, *sys.FileoffType, *sys.ResourceType, *sys.VmaType: + case *sys.IntType, *sys.FlagsType, *sys.ResourceType, *sys.VmaType: arg1, calls1 := r.generateArg(s, arg.Type) p.replaceArg(c, arg, arg1, calls1) case *sys.BufferType: |
