mirror of
https://github.com/golang/go.git
synced 2025-11-07 20:21:01 +00:00
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:
parent
b04ac108fd
commit
a5bf45e389
9 changed files with 26 additions and 121 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue