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
function ao1(s)
return s == "" and 1 or 2
end
function ao2(b)
return b and 1 or 2
end
function ao3()
return true and 1 or 2
end
function ao4()
return false and 1 or 2
end
r1 = ao1("")
r2 = ao1("a")
r3 = ao2(true)
r4 = ao2(false)
r5 = ao3()
r6 = ao4()
Running
results in the following
where I would expect (see also on https://www.lua.org/cgi-bin/demo)
This is exactly the result I get when I remove the call to the
BranchInliner
in theoptimize
method forIRFunc
s.The text was updated successfully, but these errors were encountered: