-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Inline CORINFO_HELP_ARRADDR_ST helper call, remove WriteBarrier FCall #117583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
872e969
e93c1cf
7279b86
894c0ef
fd9a81c
c6da245
68e68a5
c526462
6c036c8
fcf80b9
cc5f12b
3c9049f
bfb7194
7300f5c
8c3900a
e4d9fde
5bd0911
2731fb3
130f490
5b5b037
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5151,6 +5151,30 @@ class Compiler | |
GenTree* dereferencedAddress, | ||
InlArgInfo* inlArgInfo); | ||
|
||
typedef JitHashTable<CORINFO_METHOD_HANDLE, JitPtrKeyFuncs<struct CORINFO_METHOD_STRUCT_>, CORINFO_METHOD_HANDLE> HelperToManagedMap; | ||
HelperToManagedMap* m_helperToManagedMap = nullptr; | ||
|
||
public: | ||
HelperToManagedMap* GetHelperToManagedMap() | ||
{ | ||
if (m_helperToManagedMap == nullptr) | ||
{ | ||
m_helperToManagedMap = new (getAllocator()) HelperToManagedMap(getAllocator()); | ||
} | ||
return m_helperToManagedMap; | ||
} | ||
bool HelperToManagedMapLookup(CORINFO_METHOD_HANDLE helperCallHnd, CORINFO_METHOD_HANDLE* userCallHnd) | ||
{ | ||
if (m_helperToManagedMap == nullptr) | ||
{ | ||
return false; | ||
} | ||
bool found = m_helperToManagedMap->Lookup(helperCallHnd, userCallHnd); | ||
return found; | ||
} | ||
private: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This I could just do it via |
||
|
||
void impConvertToUserCallAndMarkForInlining(GenTreeCall* call); | ||
void impMarkInlineCandidate(GenTree* call, | ||
CORINFO_CONTEXT_HANDLE exactContextHnd, | ||
bool exactContextNeedsRuntimeLookup, | ||
|
Uh oh!
There was an error while loading. Please reload this page.