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
{{ message }}
Repository navigation
Commit 233ed5a
Browse filesBrowse the repository at this point in the historyBrowse files
var rightMayBeComplex = !right.IsParamOrConstantOrDefault();
5551
5547
#endif
5552
-
var leftVar = spillLeft ? EmitStoreLocalVariable(il, parameters[0].ParameterType) : -1;
5548
+
// Storing left here for the complex right so that we restore left and right later after emitting the right (otherwise left may be lost on the evaluation stack)
5549
+
var leftVar = rightMayBeComplex ? EmitStoreLocalVariable(il, leftParamType) : -1;
5553
5550
5554
-
if (!TryEmit(expr.Right, il, ref context, ParentFlags.Call, parameters[1].ParameterType.IsByRef ? 1 : -1))
5551
+
var rightParamType = pars[1].ParameterType;
5552
+
if (!TryEmit(right, il, ref context, ParentFlags.Call, rightParamType.IsByRef ? 1 : -1))
5555
5553
return false;
5556
5554
if (leftVar != -1)
5557
5555
{
5558
-
var rightVar = EmitStoreLocalVariable(il, parameters[1].ParameterType);
5556
+
var rightVar = EmitStoreLocalVariable(il, rightParamType);
0 commit comments