function luaK.code(F,m,U,b)local u=m.f F:dischargejpc(m)luaY:growvector(m.L,u.code,m.pc,u.sizecode,nil,luaY.MAX_INT,"\099\111\100\101 \115\105\122\101 \111\118\101\114\102\108\111\119")u.code[m.pc]=U luaY:growvector(m.L,u.lineinfo,m.pc,u.sizelineinfo,nil,luaY.MAX_INT,"\099\111\100\101 \115\105\122\101 \111\118\101\114\102\108\111\119")u.lineinfo[m.pc]=b local L=m.pc m.pc=m.pc+1 return L end
------------------------------------------------------------------------
-- general function to write an instruction into the instruction buffer,
-- sets debug information too
-- * used in luaK:codeABC(), luaK:codeABx()
-- * called directly by (lparser) luaY:whilestat()
------------------------------------------------------------------------
function luaK:code(fs, i, line)
	local f = fs.f
	self:dischargejpc(fs) -- 'pc' will change
	-- put new instruction in code array
	luaY:growvector(fs.L, f.code, fs.pc, f.sizecode, nil, luaY.MAX_INT, "code size overflow")
	f.code[fs.pc] = i
	-- save corresponding line information
	luaY:growvector(fs.L, f.lineinfo, fs.pc, f.sizelineinfo, nil, luaY.MAX_INT, "code size overflow")
	f.lineinfo[fs.pc] = line
	local pc = fs.pc
	fs.pc = fs.pc + 1
	return pc
end
