From ac1989403552503e45557f3327c0fc2205ffaf66 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Mon, 18 Apr 2022 21:09:20 -0700 Subject: [PATCH] CR --- .../DependencyAnalysis/ReadyToRun/ArgIterator.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/ArgIterator.cs b/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/ArgIterator.cs index 4b1716f478024..4a13af01e6341 100644 --- a/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/ArgIterator.cs +++ b/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/ArgIterator.cs @@ -1360,15 +1360,6 @@ private void ForceSigWalk() numRegistersUsed++; } - // DESKTOP BEHAVIOR - This block is disabled for x86 as the param arg is the last argument on .NET Framework x86. - if (HasParamType) - { - numRegistersUsed++; - _paramTypeLoc = (numRegistersUsed == 1) ? - ParamTypeLocation.Ecx : ParamTypeLocation.Edx; - Debug.Assert(numRegistersUsed <= 2); - } - if (IsVarArg) { nSizeOfArgStack += _transitionBlock.PointerSize;