convert gob to whole-package compilation.

had to reorder some init code.

R=r
DELTA=136  (15 added, 110 deleted, 11 changed)
OCL=33071
CL=33102
This commit is contained in:
Russ Cox 2009-08-12 13:19:27 -07:00
parent b04ac108fd
commit a5bf45e389
9 changed files with 26 additions and 121 deletions

View file

@ -6,7 +6,6 @@ package gob
import (
"bytes";
"gob";
"io";
"math";
"os";
@ -335,8 +334,6 @@ var encOpMap = map[reflect.Type] encOp {
valueKind("x"): encString,
}
func getEncEngine(rt reflect.Type) (*encEngine, os.Error)
// Return the encoding op for the base type under rt and
// the indirection count to reach it.
func encOpFor(rt reflect.Type) (encOp, int, os.Error) {