prevent infinite recursion
add testcase
add LUAJIT_ENABLE_LUA52COMPAT back
Merge pull request #480 from luvit/fixes/lua52compat

add LUAJIT_ENABLE_LUA52COMPAT back
Merge pull request #478 from luvit/fixes/prevent_infinite_recursion

prevent infinite recursion
remove the loop
Merge branch 'fixes/utils_dump' of https://github.com/luvit/luvit into fixes/utils_dump