Follow

TIL: Unlike other targets (including the editor mono JIT), IL2CPP very much does not like it when you keep things in the stack for later.

Boo:
LD, DUP, OP, OP

Woo:
LD, OP, LD, OP

Handling of the unfortunate case is _not_ very graceful: Nonsensical generated C++. Thankfully it at least doesn’t compile.

Sign in to participate in the conversation
Gamedev Mastodon

Mastodon server focused on game development and related topics.