Skip to content

Commit c6586ed

Browse files
authored
JIT: Remove LclVarDsc::_lvArgReg and LclVarDsc::_lvOtherArgReg (#113501)
No longer used with recent work to switch to new ABI info.
1 parent b79583c commit c6586ed

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

src/coreclr/jit/compiler.h

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -506,19 +506,6 @@ enum class AddressExposedReason
506506
class LclVarDsc
507507
{
508508
public:
509-
// The constructor. Most things can just be zero'ed.
510-
//
511-
// Initialize the ArgRegs to REG_STK.
512-
LclVarDsc()
513-
: _lvArgReg(REG_STK)
514-
#if FEATURE_MULTIREG_ARGS
515-
, _lvOtherArgReg(REG_STK)
516-
#endif // FEATURE_MULTIREG_ARGS
517-
, lvClassHnd(NO_CLASS_HANDLE)
518-
, lvPerSsaData()
519-
{
520-
}
521-
522509
// note this only packs because var_types is a typedef of unsigned char
523510
var_types lvType : 5; // TYP_INT/LONG/FLOAT/DOUBLE/REF
524511

@@ -778,13 +765,6 @@ class LclVarDsc
778765
regNumberSmall _lvOtherReg; // Used for "upper half" of long var.
779766
#endif // !defined(TARGET_64BIT)
780767

781-
regNumberSmall _lvArgReg; // The (first) register in which this argument is passed.
782-
783-
#if FEATURE_MULTIREG_ARGS
784-
regNumberSmall _lvOtherArgReg; // Used for the second part of the struct passed in a register.
785-
// Note this is defined but not used by ARM32
786-
#endif // FEATURE_MULTIREG_ARGS
787-
788768
regNumberSmall _lvArgInitReg; // the register into which the argument is moved at entry
789769

790770
public:
@@ -997,7 +977,7 @@ class LclVarDsc
997977
unsigned lvSlotNum; // original slot # (if remapped)
998978

999979
// class handle for the local or null if not known or not a class
1000-
CORINFO_CLASS_HANDLE lvClassHnd;
980+
CORINFO_CLASS_HANDLE lvClassHnd = NO_CLASS_HANDLE;
1001981

1002982
private:
1003983
ClassLayout* m_layout; // layout info for structs

0 commit comments

Comments
 (0)