diff options
Diffstat (limited to 'src/vm/siginfo.cpp')
-rw-r--r-- | src/vm/siginfo.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vm/siginfo.cpp b/src/vm/siginfo.cpp index b9955eca68..82aef45026 100644 --- a/src/vm/siginfo.cpp +++ b/src/vm/siginfo.cpp @@ -1199,7 +1199,10 @@ TypeHandle SigPointer::GetTypeHandleThrowing( PREFIX_ASSUME(pZapSigContext != NULL); pModule = pZapSigContext->GetZapSigModule()->GetModuleFromIndex(ix); - if (pModule != NULL) + + // For ReadyToRunCompilation we return a null TypeHandle when we reference a non-local module + // + if ((pModule != NULL) && pModule->IsInCurrentVersionBubble()) { thRet = psig.GetTypeHandleThrowing(pModule, pTypeContext, |