aboutsummaryrefslogtreecommitdiffstats
path: root/prog/generation.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/generation.go')
-rw-r--r--prog/generation.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/prog/generation.go b/prog/generation.go
index 860924031..df31f0271 100644
--- a/prog/generation.go
+++ b/prog/generation.go
@@ -22,10 +22,6 @@ func (target *Target) Generate(rs rand.Source, ncalls int, ct *ChoiceTable) *Pro
p.Calls = append(p.Calls, c)
}
}
- if debug {
- if err := p.validate(); err != nil {
- panic(err)
- }
- }
+ p.debugValidate()
return p
}