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
Due to a CLR spec limitation, stackalloc instructions cannot be executed unless the evaluation stack is cleared of other items. This means that the following code will not be executed at run-time:
DoSomething(obj1, stackalloc int[10]);
For that to happen, we need to save (spill) all prior values on the evaluation stack to temps before executing this instruction. For now, in feature branch freatures/readonly-ref, the scope of this instruction is constricted to either (1) initialization statements or (2) ternary conditional operators.
The text was updated successfully, but these errors were encountered:
Due to a CLR spec limitation, stackalloc instructions cannot be executed unless the evaluation stack is cleared of other items. This means that the following code will not be executed at run-time:
DoSomething(obj1, stackalloc int[10]);
For that to happen, we need to save (spill) all prior values on the evaluation stack to temps before executing this instruction. For now, in feature branch
freatures/readonly-ref
, the scope of this instruction is constricted to either (1) initialization statements or (2) ternary conditional operators.The text was updated successfully, but these errors were encountered: