Skip to content

Commit 6444f51

Browse files
authored
set generic ctx type to void* for non-x86 path also - fixes LLVM/Wasm type mismatch (#101394)
1 parent e751fe8 commit 6444f51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/CompilerTypeSystemContext.InterfaceThunks.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public override MethodSignature Signature
313313
}
314314
else
315315
{
316-
parameters[0] = Context.GetWellKnownType(WellKnownType.IntPtr);
316+
parameters[0] = Context.GetWellKnownType(WellKnownType.Void).MakePointerType();
317317
for (int i = 0; i < _methodRepresented.Signature.Length; i++)
318318
parameters[i + 1] = _methodRepresented.Signature[i];
319319
}

0 commit comments

Comments
 (0)