Browse Source

Cleanup library function caching in dasm_x86.lua.

Mike Pall 15 years ago
parent
commit
309d8f5aab
1 changed files with 1 additions and 2 deletions
  1. 1 2
      dynasm/dasm_x86.lua

+ 1 - 2
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