function luaY.markupval(S,Z,H)local w=Z.bl while w and w.nactvar>H do w=w.previous end if w then w.upval=true end end
------------------------------------------------------------------------
-- * mark upvalue flags in function states up to a given level
-- * used only in singlevaraux()
------------------------------------------------------------------------
function luaY:markupval(fs, level)
	local bl = fs.bl
	while bl and bl.nactvar > level do
		bl = bl.previous
	end
	if bl then
		bl.upval = true
	end
end
