diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-09-24 14:34:52 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-09-24 14:34:52 -0300 |
commit | 6ef366644f7c3c21cfb17434835edf4ebf970d6d (patch) | |
tree | d41df5b79bea32675f740a52d39c0b5ec37eb92b /testes/locals.lua | |
parent | 03cde80b58ea7f112f1b7a35c037893093b59f2e (diff) | |
download | lua-6ef366644f7c3c21cfb17434835edf4ebf970d6d.tar.gz lua-6ef366644f7c3c21cfb17434835edf4ebf970d6d.tar.bz2 lua-6ef366644f7c3c21cfb17434835edf4ebf970d6d.zip |
Subtraction of small constant integers optimized with OP_ADDI
Diffstat (limited to 'testes/locals.lua')
-rw-r--r-- | testes/locals.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/locals.lua b/testes/locals.lua index 58ad18cc..b769575f 100644 --- a/testes/locals.lua +++ b/testes/locals.lua | |||
@@ -82,7 +82,7 @@ assert(c.a == nil) | |||
82 | f() | 82 | f() |
83 | assert(c.a == 3) | 83 | assert(c.a == 3) |
84 | 84 | ||
85 | -- old test for limits for special instructions (now just a generic test) | 85 | -- old test for limits for special instructions |
86 | do | 86 | do |
87 | local i = 2 | 87 | local i = 2 |
88 | local p = 4 -- p == 2^i | 88 | local p = 4 -- p == 2^i |