asancall := ir.NewCallExpr(base.Pos, ir.OCALL, asanf, nil)
                        asancall.Args.Append(typecheck.ConvNop(typecheck.NodAddr(
                                ir.NewIndexExpr(base.Pos, globals, ir.NewInt(base.Pos, 0))), types.Types[types.TUNSAFEPTR]))
-                       asancall.Args.Append(typecheck.ConvNop(ir.NewInt(base.Pos, int64(ni)), types.Types[types.TUINTPTR]))
+                       asancall.Args.Append(typecheck.DefaultLit(ir.NewInt(base.Pos, int64(ni)), types.Types[types.TUINTPTR]))
 
                        fnInit.Body.Append(asancall)
                        typecheck.FinishFuncBody()
 
                // Assign globals[i].size.
                g := n.(*ir.Name)
                size := g.Type().Size()
-               c = tconv(ir.NewInt(base.Pos, size), types.Types[types.TUINTPTR])
+               c = typecheck.DefaultLit(ir.NewInt(base.Pos, size), types.Types[types.TUINTPTR])
                setField("size", c, i)
                // Assign globals[i].sizeWithRedzone.
                rzSize := GetRedzoneSizeForGlobal(size)
                sizeWithRz := rzSize + size
-               c = tconv(ir.NewInt(base.Pos, sizeWithRz), types.Types[types.TUINTPTR])
+               c = typecheck.DefaultLit(ir.NewInt(base.Pos, sizeWithRz), types.Types[types.TUINTPTR])
                setField("sizeWithRedzone", c, i)
                // The C string type is terminated by a null character "\0", Go should use three-digit
                // octal "\000" or two-digit hexadecimal "\x00" to create null terminated string.