diff options
Diffstat (limited to 'testes/code.lua')
-rw-r--r-- | testes/code.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testes/code.lua b/testes/code.lua index 834ff5e2..128ca2cb 100644 --- a/testes/code.lua +++ b/testes/code.lua | |||
@@ -303,9 +303,9 @@ check(function (x) return x & 2.0 end, 'LOADF', 'BAND', 'RETURN1') | |||
303 | 303 | ||
304 | -- basic 'for' loops | 304 | -- basic 'for' loops |
305 | check(function () for i = -10, 10.5 do end end, | 305 | check(function () for i = -10, 10.5 do end end, |
306 | 'LOADI', 'LOADK', 'LOADI', 'FORPREP1', 'FORLOOP1', 'RETURN0') | 306 | 'LOADI', 'LOADK', 'LOADI', 'FORPREP', 'FORLOOP', 'RETURN0') |
307 | check(function () for i = 0xfffffff, 10.0, 1 do end end, | 307 | check(function () for i = 0xfffffff, 10.0, 1 do end end, |
308 | 'LOADK', 'LOADF', 'LOADI', 'FORPREP1', 'FORLOOP1', 'RETURN0') | 308 | 'LOADK', 'LOADF', 'LOADI', 'FORPREP', 'FORLOOP', 'RETURN0') |
309 | 309 | ||
310 | -- bug in constant folding for 5.1 | 310 | -- bug in constant folding for 5.1 |
311 | check(function () return -nil end, 'LOADNIL', 'UNM', 'RETURN1') | 311 | check(function () return -nil end, 'LOADNIL', 'UNM', 'RETURN1') |