diff options
Diffstat (limited to 'prog/encodingexec.go')
| -rw-r--r-- | prog/encodingexec.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/prog/encodingexec.go b/prog/encodingexec.go index a51aa54d7..40cfc9592 100644 --- a/prog/encodingexec.go +++ b/prog/encodingexec.go @@ -75,6 +75,7 @@ func (p *Prog) SerializeForExec() ([]byte, error) { buf: make([]byte, 0, 4<<10), args: make(map[Arg]argInfo), } + w.write(uint64(len(p.Calls))) for _, c := range p.Calls { w.csumMap, w.csumUses = calcChecksumsCall(c) w.serializeCall(c) |
