diff --git a/src/coreclr/jit/scopeinfo.cpp b/src/coreclr/jit/scopeinfo.cpp index 01238efcfcbd0c..7653318bb2ac2d 100644 --- a/src/coreclr/jit/scopeinfo.cpp +++ b/src/coreclr/jit/scopeinfo.cpp @@ -403,28 +403,12 @@ void CodeGenInterface::siVarLoc::siFillRegisterVarLoc( break; #endif // !TARGET_64BIT -#ifdef TARGET_64BIT case TYP_FLOAT: case TYP_DOUBLE: - // TODO-AMD64-Bug: ndp\clr\src\inc\corinfo.h has a definition of RegNum that only goes up to R15, - // so no XMM registers can get debug information. this->vlType = VLT_REG_FP; this->vlReg.vlrReg = varDsc->GetRegNum(); break; -#else // !TARGET_64BIT - - case TYP_FLOAT: - case TYP_DOUBLE: - if (isFloatRegType(type)) - { - this->vlType = VLT_FPSTK; - this->vlFPstk.vlfReg = varDsc->GetRegNum(); - } - break; - -#endif // !TARGET_64BIT - #ifdef FEATURE_SIMD case TYP_SIMD8: case TYP_SIMD12: @@ -436,9 +420,6 @@ void CodeGenInterface::siVarLoc::siFillRegisterVarLoc( { this->vlType = VLT_REG_FP; - // TODO-AMD64-Bug: ndp\clr\src\inc\corinfo.h has a definition of RegNum that only goes up to R15, - // so no XMM registers can get debug information. - // // Note: Need to initialize vlrReg field, otherwise during jit dump hitting an assert // in eeDispVar() --> getRegName() that regNumber is valid. this->vlReg.vlrReg = varDsc->GetRegNum();