runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[RyuJIT/ARM32] R2R - Implement the CreateDictionaryLookupHelper stub

Open sjsinju opened this issue 9 years ago • 3 comments

R2R Crossgen with /verbose on Tizen device

COMPlus_AltJitNgen=* ./crossgen /verbose /ReadyToRun xxx.dll

We can see following

...
Error 2147500033 (Exception from HRESULT: 0x80004001 (E_NOTIMPL)) while compiling method EvasObjectEvent`1.Dispose
Compiling method EvasObjectEvent`1.Dispose
Error 2147500033 (Exception from HRESULT: 0x80004001 (E_NOTIMPL)) while compiling method EvasObjectEvent`1.Dispose
Compiling method EvasObjectEvent`1.remove_On
...

I found it had been thrown from below. vm/jitinterface.cpp

 3132 #ifdef FEATURE_READYTORUN_COMPILER
 3133     if (IsReadyToRunCompilation())
 3134     {
 3135 #if defined(_TARGET_ARM_)
 3136         ThrowHR(E_NOTIMPL); /* TODO - NYI */
 3137 #endif
 3138         pResultLookup->lookupKind.runtimeLookupArgs = NULL;
 3139 
 3140         switch (entryKind)

vm/arm/stubs.cpp


3766 PCODE DynamicHelpers::CreateDictionaryLookupHelper(LoaderAllocator * pAllocator, CORINFO_RUNTIME_LOOKUP * pLookup, DWORD dictionaryIndexAndSlot, Module * pModule)
3767 {
3768     STANDARD_VM_CONTRACT;
3769 
3770     // TODO (NYI)
3771     ThrowHR(E_NOTIMPL);
3772 }

This helper should be implemented for R2R on ARM architecture.

sjsinju avatar Aug 29 '17 07:08 sjsinju

/cc @dotnet/arm32-contrib

sjsinju avatar Aug 29 '17 10:08 sjsinju

@sjsinju Can we close this ? Let us know when you come back.

hqueue avatar Nov 03 '17 10:11 hqueue

@hqueue Yes it was resolved. Thank you.

sjsinju avatar Nov 06 '17 02:11 sjsinju