Correct handling of 'luaV_execute' invocations

The previous stackless implementations marked all 'luaV_execute'
invocations as fresh. However, re-entering 'luaV_execute' when
resuming a coroutine should not be a fresh invocation. (It works
because 'unroll' called 'luaV_execute' for each call entry, but
it was slower than letting 'luaV_execute' finish all non-fresh
invocations.)
5 files changed
tree: d8d9c68deb5879a99cf6574ab0903fba30cef7a4
  1. .gitignore
  2. README.md
  3. all
  4. lapi.c
  5. lapi.h
  6. lauxlib.c
  7. lauxlib.h
  8. lbaselib.c
  9. lcode.c
  10. lcode.h
  11. lcorolib.c
  12. lctype.c
  13. lctype.h
  14. ldblib.c
  15. ldebug.c
  16. ldebug.h
  17. ldo.c
  18. ldo.h
  19. ldump.c
  20. lfunc.c
  21. lfunc.h
  22. lgc.c
  23. lgc.h
  24. linit.c
  25. liolib.c
  26. ljumptab.h
  27. llex.c
  28. llex.h
  29. llimits.h
  30. lmathlib.c
  31. lmem.c
  32. lmem.h
  33. loadlib.c
  34. lobject.c
  35. lobject.h
  36. lopcodes.c
  37. lopcodes.h
  38. lopnames.h
  39. loslib.c
  40. lparser.c
  41. lparser.h
  42. lprefix.h
  43. lstate.c
  44. lstate.h
  45. lstring.c
  46. lstring.h
  47. lstrlib.c
  48. ltable.c
  49. ltable.h
  50. ltablib.c
  51. ltests.c
  52. ltests.h
  53. ltm.c
  54. ltm.h
  55. lua.c
  56. lua.h
  57. luaconf.h
  58. lualib.h
  59. lundump.c
  60. lundump.h
  61. lutf8lib.c
  62. lvm.c
  63. lvm.h
  64. lzio.c
  65. lzio.h
  66. makefile
  67. manual/
  68. onelua.c
  69. testes/
README.md

Lua

This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.

Please do not send pull requests. To report issues and send patches, post a message to the Lua mailing list.

Download official Lua releases from Lua.org.