From 309d8f5aabeae06180f094dcb2fe5170864541c4 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Tue, 3 Aug 2010 22:32:43 +0200 Subject: [PATCH] Cleanup library function caching in dasm_x86.lua. --- dynasm/dasm_x86.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dynasm/dasm_x86.lua b/dynasm/dasm_x86.lua index 1b83443f..eb0568de 100644 --- a/dynasm/dasm_x86.lua +++ b/dynasm/dasm_x86.lua @@ -23,12 +23,11 @@ local _M = { _info = _info } -- Cache library functions. local type, tonumber, pairs, ipairs = type, tonumber, pairs, ipairs -local assert, unpack = assert, unpack +local assert, unpack, setmetatable = assert, unpack, setmetatable local _s = string local sub, format, byte, char = _s.sub, _s.format, _s.byte, _s.char local find, match, gmatch, gsub = _s.find, _s.match, _s.gmatch, _s.gsub local concat, sort = table.concat, table.sort -local char, unpack = string.char, unpack -- Inherited tables and callbacks. local g_opt, g_arch