diff options
author | Mike Pall <mike> | 2010-08-03 22:32:43 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2010-08-03 22:32:43 +0200 |
commit | 309d8f5aabeae06180f094dcb2fe5170864541c4 (patch) | |
tree | 7783f370e0a38c539c22a867033978cffc09a35f | |
parent | 653327b33ae77542b6391ab3947a54c2fe3801fb (diff) | |
download | luajit-309d8f5aabeae06180f094dcb2fe5170864541c4.tar.gz luajit-309d8f5aabeae06180f094dcb2fe5170864541c4.tar.bz2 luajit-309d8f5aabeae06180f094dcb2fe5170864541c4.zip |
Cleanup library function caching in dasm_x86.lua.
-rw-r--r-- | dynasm/dasm_x86.lua | 3 |
1 files changed, 1 insertions, 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 } | |||
23 | 23 | ||
24 | -- Cache library functions. | 24 | -- Cache library functions. |
25 | local type, tonumber, pairs, ipairs = type, tonumber, pairs, ipairs | 25 | local type, tonumber, pairs, ipairs = type, tonumber, pairs, ipairs |
26 | local assert, unpack = assert, unpack | 26 | local assert, unpack, setmetatable = assert, unpack, setmetatable |
27 | local _s = string | 27 | local _s = string |
28 | local sub, format, byte, char = _s.sub, _s.format, _s.byte, _s.char | 28 | local sub, format, byte, char = _s.sub, _s.format, _s.byte, _s.char |
29 | local find, match, gmatch, gsub = _s.find, _s.match, _s.gmatch, _s.gsub | 29 | local find, match, gmatch, gsub = _s.find, _s.match, _s.gmatch, _s.gsub |
30 | local concat, sort = table.concat, table.sort | 30 | local concat, sort = table.concat, table.sort |
31 | local char, unpack = string.char, unpack | ||
32 | 31 | ||
33 | -- Inherited tables and callbacks. | 32 | -- Inherited tables and callbacks. |
34 | local g_opt, g_arch | 33 | local g_opt, g_arch |