Skip to content

Instantly share code, notes, and snippets.

@rightfold
Created February 1, 2015 02:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rightfold/3d0c734e7a56b18e4d6e to your computer and use it in GitHub Desktop.
Save rightfold/3d0c734e7a56b18e4d6e to your computer and use it in GitHub Desktop.
function f()
local block
local i8
local i9
local i6
local i7
local i4
local i5
local i2
local i3
local i1
goto b1
::b5::
i8 = ({
b4 = i6,
b3 = i4,
})[block]
do
return i8
end
::b4::
i6 = std.runtime.int32(2)
block = 'b4'
goto b5
::b3::
i4 = std.runtime.int32(1)
block = 'b3'
goto b5
::b2::
i2 = std.runtime.boolean(false)
block = 'b2'
if std.runtime.toLuaBoolean(i2) then
goto b3
else
goto b4
end
::b1::
block = 'b1'
goto b2
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment