Lua entry point: dont'reserve slots for args already in stack
@@ -496,8 +496,6 @@ end
local function generate_lua_entry_point(tl_node)
local ctx = Context.new()
- ctx:reserve_slots(#tl_node.params)
-
local base = ctx:new_cvar("StackValue*", "ci->func")
local set_base = util.render("${BASE_DECL} = L->ci->func;", {
BASE_DECL = c_declaration(base)
