Roberto Ierusalimschy
|
13256a4173
detail
|
7 years ago |
Roberto Ierusalimschy
|
abb17cf19b
new opcode OP_LOADF (load immediate float)
|
7 years ago |
Roberto Ierusalimschy
|
80d9b09f35
jumps do not close upvalues (to be faster and simpler);
|
8 years ago |
Roberto Ierusalimschy
|
f96497397a
new type 'StackValue' for stack elements
|
8 years ago |
Roberto Ierusalimschy
|
b42430fd3a
'lineinfo' in prototypes saved as differences instead of absolute
|
8 years ago |
Roberto Ierusalimschy
|
de74289049
table field names for dedicated opcodes can be restricted to
|
8 years ago |
Roberto Ierusalimschy
|
502a1d1108
new opcodes for table access with constant keys (strings and integers)
|
8 years ago |
Roberto Ierusalimschy
|
173e41b2eb
new opcode OP_ADDI (for immediate integer operand) (Experimental)
|
8 years ago |
Roberto Ierusalimschy
|
a3f9c1a77a
detail (using unsigned comparison in range check for LOADI)
|
8 years ago |
Roberto Ierusalimschy
|
6dbae1b5d9
registers in a VINDEXED expression must be freed in order
|
8 years ago |
Roberto Ierusalimschy
|
cb3d5dce30
opcodes 'OP_GETTABUP'/'OP_SETTABUP' operate only with string keys,
|
8 years ago |
Roberto Ierusalimschy
|
6a98aa0bb0
new opcode LOADI (for loading immediate integers)
|
8 years ago |
Roberto Ierusalimschy
|
2a235312f0
detail (removing spaces at end of lines)
|
8 years ago |
Roberto Ierusalimschy
|
fc6b32bcaa
bug: Lua can generate wrong code in functions with too many constants
|
9 years ago |
Roberto Ierusalimschy
|
6487fb11fc
all 'static' variables should be 'const'
|
9 years ago |
Roberto Ierusalimschy
|
fbd8614bdb
comment (FALLTHROUGH)
|
9 years ago |
Roberto Ierusalimschy
|
1f259be52a
'getcode' -> 'getinstruction'
|
9 years ago |
Roberto Ierusalimschy
|
b12b635a90
more refactoring
|
9 years ago |
Roberto Ierusalimschy
|
384d1b47b0
comments (*lots* of them) + asserts
|
9 years ago |
Roberto Ierusalimschy
|
a01eba657e
reordering of some functions + 'code_label' renamed to 'code_loadbool'
|
9 years ago |
Roberto Ierusalimschy
|
b7446ea88d
detail ('while' -> 'for') in 'luaK_patchclose'
|
9 years ago |
Roberto Ierusalimschy
|
d103312661
details (typos in comments)
|
9 years ago |
Roberto Ierusalimschy
|
82129b9266
use macro 'hasjumps' to test whether expression has jumps...
|
9 years ago |
Roberto Ierusalimschy
|
a1935b9cba
error message ("too complex" -> "too many registers") + MAXREGS
|
10 years ago |
Roberto Ierusalimschy
|
e723c75c02
details (avoid 'lint' warnings)
|
10 years ago |
Roberto Ierusalimschy
|
8e5290d81e
all "divisions" (div,idiv,mod) by zero are not folded, to avoid
|
10 years ago |
Roberto Ierusalimschy
|
2b83711fba
new macro 'nvalue' (to convert an object to a float when we know
|
10 years ago |
Roberto Ierusalimschy
|
bf163ea7f0
bug ('#3' causes seg. fault in 5.3-beta) + comments + 'codearith' ->
|
10 years ago |
Roberto Ierusalimschy
|
5fbd40dbe5
'x//y' extended to floats
|
10 years ago |
Roberto Ierusalimschy
|
28fdbcf393
added include for 'lprefix.h', for stuff that must be added before
|
10 years ago |