void EnsureReturnVariable()
{
if (!_isOwner)
throw new InvalidOperationException("CodeGen is not an owner of the context");
if (_hasRetVar)
return;
_retLabel = IL.DefineLabel();
if (HasReturnValue)
_retVar = IL.DeclareLocal(Context.ReturnType);
_hasRetVar = true;
}