aboutsummaryrefslogtreecommitdiffstats
path: root/prog/mutation.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-10-29 16:06:40 -0600
committerDmitry Vyukov <dvyukov@google.com>2016-11-11 14:32:38 -0800
commitf085c198ba2dd95ce46a66ec8f8e6b472c3cca14 (patch)
treee9c1cdcd360bf3ffd03d2265484f72d07363a0fd /prog/mutation.go
parent8b731ed4b705c3049af917f1c01db5b4a0bc59a1 (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.go2
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: