yowl

Results 128 comments of yowl

Was hoping something like that was the answer. It comes from adding the `WebAssemblyMethodBodyNode` due to ``` ILCompiler.WebAssembly.dll!ILCompiler.DependencyAnalysis.WebAssemblyMethodBodyNode.WebAssemblyMethodBodyNode(Internal.TypeSystem.MethodDesc method) Line 67 C# > ILCompiler.WebAssembly.dll!ILCompiler.DependencyAnalysis.WebAssemblyCodegenNodeFactory.CreateUnboxingStubNode(Internal.TypeSystem.MethodDesc method) Line 67 C# System.Collections.Concurrent.dll!System.Collections.Concurrent.ConcurrentDictionary.GetOrAdd(Internal.TypeSystem.MethodDesc key,...

Thanks, having a look at that. Could you expand a bit on this comment: https://github.com/dotnet/corert/blob/e81eb736e4467c20aaece04a9db23c10e8567b67/src/ILCompiler.Compiler/src/Compiler/CompilerTypeSystemContext.BoxedTypes.cs#L588-L593 , particularly the last sentence. I think a corresponding comment is at https://github.com/dotnet/corert/blob/e81eb736e4467c20aaece04a9db23c10e8567b67/src/ILCompiler.Compiler/src/Compiler/CompilerTypeSystemContext.BoxedTypes.cs#L488-L490 I read...

Thanks, I'll look at that in more detail. Have by passed it for the moment by editing the llvm, but I think the Wasm backend might be missing something else...

The `CalliIntrinisic` is going to call https://github.com/dotnet/corert/blob/093c4e3684f7500b6e2d683541074027e8150fb4/src/System.Private.CoreLib/src/System/Array.CoreRT.cs#L76-L80 but its going for the `RuntimeExport` function, not the managed method directly. It will end up in the managed method, but by going...

I should say that my problem is that `CalliIntrinsic` is getting compiled to make the `calli` as though it were a managed method and is adding a shadow stack arg...

> I would kind of expect RuntimeExport methods to have the managed calling convention. Well it sort of does and doesn't.. LLVM: ``` define %"[S.P.CoreLib]Internal.Runtime.EEType"* @S_P_CoreLib_System_Array__GetSystemArrayEEType(i8*) { ``` That has...

I did hack it about a bit due to wasm4. The framebuffer is provided, there's no main, sprites not characters, no PAL layer. Think those were the main things. What...

I'm probably not going to get to this as I have to hack the compiler to make it work and I don't understand why, so not worth pursuing unless that...

I think I tried that but got stuck in `ref struct` requirements. I'll have another look Scott ________________________________ From: Michal Strehovský ***@***.***> Sent: Sunday, January 16, 2022 2:10:47 AM To:...

Basically ``` unsafe ref struct Game { static Game _game; ``` is not allowed . `ref structs` are on the stack, so they cant be used for static fields I...