You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace CORCOMPILE_FIXUP_BLOB_KIND with ReadyToRunFixupKind (#115854)
Removes the redundant CORCOMPILE_FIXUP_BLOB_KIND enum and replaces all its uses with the equivalent ReadyToRunFixupKind enum. CORCOMPILE_FIXUP_BLOB_KIND was a left-over from fragile NGen.
Fixes#115853
ENCODE_STATIC_BASE_NONGC_HELPER, /* Dynamically created static base helpers */
139
-
ENCODE_STATIC_BASE_GC_HELPER,
140
-
ENCODE_THREAD_STATIC_BASE_NONGC_HELPER,
141
-
ENCODE_THREAD_STATIC_BASE_GC_HELPER,
142
-
143
-
ENCODE_FIELD_BASE_OFFSET, /* Field base */
144
-
ENCODE_FIELD_OFFSET,
145
-
146
-
ENCODE_TYPE_DICTIONARY,
147
-
ENCODE_METHOD_DICTIONARY,
148
-
149
-
ENCODE_CHECK_TYPE_LAYOUT,
150
-
ENCODE_CHECK_FIELD_OFFSET,
151
-
152
-
ENCODE_DELEGATE_CTOR,
153
-
154
-
ENCODE_DECLARINGTYPE_HANDLE,
155
-
156
-
ENCODE_INDIRECT_PINVOKE_TARGET, /* For calling a pinvoke method ptr indirectly */
157
-
ENCODE_PINVOKE_TARGET, /* For calling a pinvoke method ptr */
158
-
159
-
ENCODE_CHECK_INSTRUCTION_SET_SUPPORT, /* Define the set of instruction sets that must be supported/unsupported to use the fixup */
160
-
161
-
ENCODE_VERIFY_FIELD_OFFSET, /* Used for the R2R compiler can generate a check against the real field offset used at runtime */
162
-
ENCODE_VERIFY_TYPE_LAYOUT, /* Used for the R2R compiler can generate a check against the real type layout used at runtime */
163
-
164
-
ENCODE_CHECK_VIRTUAL_FUNCTION_OVERRIDE, /* Generate a runtime check to ensure that virtual function resolution has equivalent behavior at runtime as at compile time. If not equivalent, code will not be used */
165
-
ENCODE_VERIFY_VIRTUAL_FUNCTION_OVERRIDE, /* Generate a runtime check to ensure that virtual function resolution has equivalent behavior at runtime as at compile time. If not equivalent, generate runtime failure. */
166
-
167
-
ENCODE_CHECK_IL_BODY, /* Check to see if an IL method is defined the same at runtime as at compile time. A failed match will cause code not to be used. */
168
-
ENCODE_VERIFY_IL_BODY, /* Verify an IL body is defined the same at compile time and runtime. A failed match will cause a hard runtime failure. */
169
-
170
-
ENCODE_MODULE_HANDLE = 0x50, /* Module token */
171
-
ENCODE_SYNC_LOCK, /* For synchronizing access to a type */
172
-
ENCODE_PROFILING_HANDLE, /* For the method's profiling counter */
173
-
ENCODE_VARARGS_METHODDEF, /* For calling a varargs method */
Copy file name to clipboardExpand all lines: src/coreclr/inc/readytorun.h
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -293,6 +293,9 @@ enum ReadyToRunFixupKind
293
293
294
294
READYTORUN_FIXUP_Check_IL_Body=0x35, /* Check to see if an IL method is defined the same at runtime as at compile time. A failed match will cause code not to be used. */
295
295
READYTORUN_FIXUP_Verify_IL_Body=0x36, /* Verify an IL body is defined the same at compile time and runtime. A failed match will cause a hard runtime failure. */
296
+
297
+
READYTORUN_FIXUP_ModuleOverride=0x80, /* followed by sig-encoded UInt with assemblyref index into either the assemblyref table of the MSIL metadata of the master context module for the signature or */
298
+
/* into the extra assemblyref table in the manifest metadata R2R header table (used in cases inlining brings in references to assemblies not seen in the MSIL). */
0 commit comments