aboutsummaryrefslogtreecommitdiffstats
path: root/prog/size.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-12-06 18:53:57 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-12-06 18:56:08 +0100
commitab4b148b34b55427cf82f4dd67f0773aada301be (patch)
tree2e8c7b5c4ad7f7722a357b43bfbce68f2505ee69 /prog/size.go
parentceaec61a833bf78e2aa2a1feb964e1915d3f465b (diff)
prog: add Prog.Finalize
Prog.Finalize combines assignSizesCall, SanitizeCall and validate. Intended for users who build own programs, so that we don't need to expose all individual methods.
Diffstat (limited to 'prog/size.go')
-rw-r--r--prog/size.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/prog/size.go b/prog/size.go
index a8f51bdef..c16e7f647 100644
--- a/prog/size.go
+++ b/prog/size.go
@@ -112,10 +112,6 @@ func (target *Target) assignSizesArray(args []Arg) {
}
}
-func (target *Target) AssignSizesCall(c *Call) {
- target.assignSizesCall(c)
-}
-
func (target *Target) assignSizesCall(c *Call) {
target.assignSizesArray(c.Args)
}