aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Pall <mike>2010-05-08 18:59:59 +0200
committerMike Pall <mike>2010-05-08 18:59:59 +0200
commit5ff994fa3767e47ebc3ed66959d63caba990d920 (patch)
treead649d99cea93272c79f69f4e0bdbc3eea24ad9d /lib
parent8fa1db826c095adcc45d961e6f6870406d69d49d (diff)
downloadluajit-5ff994fa3767e47ebc3ed66959d63caba990d920.tar.gz
luajit-5ff994fa3767e47ebc3ed66959d63caba990d920.tar.bz2
luajit-5ff994fa3767e47ebc3ed66959d63caba990d920.zip
Add weak guards. Emit TNEW/TDUP with a guard bit.
Diffstat (limited to 'lib')
-rw-r--r--lib/dump.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dump.lua b/lib/dump.lua
index 39de30d0..f87f5e1d 100644
--- a/lib/dump.lua
+++ b/lib/dump.lua
@@ -391,8 +391,8 @@ local function dump_ir(tr, dumpsnap, dumpreg)
391 out:write(format("%04d ", ins)) 391 out:write(format("%04d ", ins))
392 end 392 end
393 out:write(format("%s%s %s %s ", 393 out:write(format("%s%s %s %s ",
394 band(ot, 64) == 0 and " " or ">", 394 band(ot, 128) == 0 and " " or ">",
395 band(ot, 128) == 0 and " " or "+", 395 band(ot, 64) == 0 and " " or "+",
396 irtype[t], op)) 396 irtype[t], op))
397 local m1 = band(m, 3) 397 local m1 = band(m, 3)
398 if sub(op, 1, 4) == "CALL" then 398 if sub(op, 1, 4) == "CALL" then