diff options
Diffstat (limited to 'src/cmd/gc/reflect.c')
| -rw-r--r-- | src/cmd/gc/reflect.c | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/src/cmd/gc/reflect.c b/src/cmd/gc/reflect.c index 3ac48fbee..c78e4dd30 100644 --- a/src/cmd/gc/reflect.c +++ b/src/cmd/gc/reflect.c @@ -390,6 +390,9 @@ enum { KindFloat, KindFloat32, KindFloat64, + KindComplex, + KindComplex64, + KindComplex128, KindArray, KindChan, KindFunc, @@ -431,6 +434,9 @@ kinds[] = [TMAP] = KindMap, [TARRAY] = KindArray, [TFUNC] = KindFunc, + [TCOMPLEX] = KindComplex, + [TCOMPLEX64] = KindComplex64, + [TCOMPLEX128] = KindComplex128, }; static char* @@ -438,21 +444,21 @@ structnames[] = { [TINT] = "*runtime.IntType", [TUINT] = "*runtime.UintType", - [TINT8] = "*runtime.Int8Type", - [TUINT8] = "*runtime.Uint8Type", - [TINT16] = "*runtime.Int16Type", - [TUINT16] = "*runtime.Uint16Type", - [TINT32] = "*runtime.Int32Type", - [TUINT32] = "*runtime.Uint32Type", - [TINT64] = "*runtime.Int64Type", - [TUINT64] = "*runtime.Uint64Type", - [TUINTPTR] = "*runtime.UintptrType", + [TINT8] = "*runtime.IntType", + [TUINT8] = "*runtime.UintType", + [TINT16] = "*runtime.IntType", + [TUINT16] = "*runtime.UintType", + [TINT32] = "*runtime.IntType", + [TUINT32] = "*runtime.UintType", + [TINT64] = "*runtime.IntType", + [TUINT64] = "*runtime.UintType", + [TUINTPTR] = "*runtime.UintType", [TCOMPLEX] = "*runtime.ComplexType", - [TCOMPLEX64] = "*runtime.Complex64Type", - [TCOMPLEX128] = "*runtime.Complex128Type", + [TCOMPLEX64] = "*runtime.ComplexType", + [TCOMPLEX128] = "*runtime.ComplexType", [TFLOAT] = "*runtime.FloatType", - [TFLOAT32] = "*runtime.Float32Type", - [TFLOAT64] = "*runtime.Float64Type", + [TFLOAT32] = "*runtime.FloatType", + [TFLOAT64] = "*runtime.FloatType", [TBOOL] = "*runtime.BoolType", [TSTRING] = "*runtime.StringType", |
