diff --git a/src/coreclr/jit/codegencommon.cpp b/src/coreclr/jit/codegencommon.cpp index 50622129a21132..9266781aa0fda3 100644 --- a/src/coreclr/jit/codegencommon.cpp +++ b/src/coreclr/jit/codegencommon.cpp @@ -1133,6 +1133,11 @@ bool CodeGen::genCreateAddrMode(GenTree* addr, unsigned* mulPtr, ssize_t* cnsPtr) { +// TODO-WASM: Prove whether a given addressing mode obeys the Wasm rules. +// See https://github.com/dotnet/runtime/pull/122897#issuecomment-3721304477 for more details. +#if defined(TARGET_WASM) + return false; +#endif // TARGET_WASM /* The following indirections are valid address modes on x86/x64: