Esempio n. 1
0
        public CallInst CreateCall(Value Callee, ReadOnlySpan <Value> Args, ReadOnlySpan <char> Name)
        {
            using var argHandles = new MarshaledArray <Value, LLVMValueRef>(Args, (value) => value.Handle);
            var handle = Handle.BuildCall(Callee.Handle, argHandles, Name);

            return(Context.GetOrCreate <CallInst>(handle));
        }