aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Pall <mike>2011-09-20 21:15:05 +0200
committerMike Pall <mike>2011-09-20 21:15:05 +0200
commitc5e75e7893b511cb109dec3be111e115fdb01d7c (patch)
tree393e3975183fd85e7154881535444bff165c5baf /lib
parent5fedf72ca6e08c06960bac77876e7f94ae8fd319 (diff)
downloadluajit-c5e75e7893b511cb109dec3be111e115fdb01d7c.tar.gz
luajit-c5e75e7893b511cb109dec3be111e115fdb01d7c.tar.bz2
luajit-c5e75e7893b511cb109dec3be111e115fdb01d7c.zip
Generate a portable vmdef.lua.
Diffstat (limited to 'lib')
-rw-r--r--lib/dump.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/dump.lua b/lib/dump.lua
index 7ddc9c07..bb8aa1ce 100644
--- a/lib/dump.lua
+++ b/lib/dump.lua
@@ -84,7 +84,10 @@ local function fillsymtab(nexit)
84 local t = symtab 84 local t = symtab
85 if nexitsym == 0 then 85 if nexitsym == 0 then
86 local ircall = vmdef.ircall 86 local ircall = vmdef.ircall
87 for i=0,#ircall do t[ircalladdr(i)] = ircall[i] end 87 for i=0,#ircall do
88 local addr = ircalladdr(i)
89 if addr ~= 0 then t[addr] = ircall[i] end
90 end
88 end 91 end
89 if nexit > nexitsym then 92 if nexit > nexitsym then
90 for i=nexitsym,nexit-1 do 93 for i=nexitsym,nexit-1 do