File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -207,15 +207,22 @@ inline ssize_t emitter::emitGetInsAmdAny(instrDesc* id)
207207
208208#endif // TARGET_XARCH
209209
210+ // TODO-XARCH-AVX512 the following are defined via compiler.h but re-defining via
211+ // extern here to avoid having to introduce a dependency of compiler.h on to
212+ // emitinl.h
213+ #if defined(TARGET_AMD64)
214+ extern regMaskTP rbmAllFloat;
215+ extern regMaskTP rbmFltCalleeTrash;
216+ extern unsigned cntCalleeTrashFloat;
217+ #endif
218+
210219/* ****************************************************************************
211220 *
212221 * Convert between a register mask and a smaller version for storage.
213222 */
214-
215223/* static*/ inline void emitter::emitEncodeCallGCregs (regMaskTP regmask, instrDesc* id)
216224{
217- // TODO-XARCH-AVX512 global defined in compiler.h, not in scope here
218- // assert((regmask & RBM_CALLEE_TRASH) == 0);
225+ assert ((regmask & RBM_CALLEE_TRASH) == 0 );
219226
220227 unsigned encodeMask;
221228
You can’t perform that action at this time.
0 commit comments