From 7881f3a53b3fd9227a7a8f99b7751fb3442f485d Mon Sep 17 00:00:00 2001 From: xushiwei Date: Wed, 15 May 2024 08:54:29 +0800 Subject: [PATCH] x --- ssa/package.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/ssa/package.go b/ssa/package.go index 7de579cb..d04f3267 100644 --- a/ssa/package.go +++ b/ssa/package.go @@ -125,12 +125,12 @@ type aProgram struct { rtSliceTy llvm.Type rtMapTy llvm.Type - anyTy Type - voidTy Type - voidPtr Type - boolTy Type - cstrTy Type - cintTy Type + anyTy Type + voidTy Type + voidPtr Type + boolTy Type + cstrTy Type + //cintTy Type stringTy Type uintptrTy Type intTy Type @@ -335,12 +335,14 @@ func (p Program) Any() Type { return p.anyTy } +/* func (p Program) CInt() Type { if p.cintTy == nil { // C.int p.cintTy = p.rawType(types.Typ[types.Int32]) // TODO(xsw): support 64-bit } return p.cintTy } +*/ // Int returns int type. func (p Program) Int() Type {