Make FunctionDescriptor::toMethodType an instance method of Linker

XMLWordPrintable

      Having a single way to map a function descriptor into a method type seems overly restrictive. After all, any given linker implementation can have its own opinion on how layouts should be mapped into carriers. For instance, while a native linker might want to map `AddressLayout` into `MemorySegment`, a JNI linker might want to map the same layout into `Object` (as JNI only supports passing Java objects as references).

            Assignee:
            Maurizio Cimadamore
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: