Roberto Ierusalimschy
|
51280ef2ad
call hooks for Lua functions called by 'luaV_execute'
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
728ff94595
error handler in protected calls must be a function
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
cf7eff45f3
keep control of stack top in Lua functions concentrated in 'luaV_execute'
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
1d5b885437
when running Lua code, there is no need to keep 'L->top' "correct";
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
b3f924bc69
'Proto->numparams' does not include vararg parameter
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
86431a2f1c
new opcodes BANDK/BORK/BXORK. (They do not use immediate operands
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
9fa1baf6de
opcodes for order and shift can use several metamethods,
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
599f1742c6
detail (typo in comments)
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
196c87c9ce
no more 'stackless' implementation; 'luaV_execute' calls itself
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
5440b42f43
using 'trap' to stop 'luaV_execute' when necessary (tracing and
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
62f3b7c472
detail
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
26679ea35b
new function 'luaV_flttointeger' to convert floats to integers (without
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
c3e5946fb2
new format for JUMP instructions (to allow larger offsets)
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
ad0704e40c
back to 'CallInfo' (no gains with its removal)
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
6bb3e40a8d
'lua_Debug' not using 'CallInfo'
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
7612f7735d
removing uses of 'CallInfo'
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
472c560705
no more useful fields in CallInfo
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
54eb35a8aa
more fields moved out of 'CallInfo'
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
ba36180fd7
new API for 'lua_resume' + cleaning the uses of the 'extra' field in
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
b9e76be8a6
using 'L->func' when possible
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
ad5dcdcf0f
detail: in 'isinstack', check against the whole stack instead
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
a1ef58b3a5
eplicit 1-bit opcode operand 'k'
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
8fbe9e3470
new opcodes with immediate integer operand for all arithmetic operations
|
7 gadi atpakaļ |
Roberto Ierusalimschy
|
b1daa069ba
bug: Lua does not check GC when creating error messages
|
8 gadi atpakaļ |
Roberto Ierusalimschy
|
4dff277255
coercion string->number in arithmetic operations moved to string
|
8 gadi atpakaļ |
Roberto Ierusalimschy
|
f96497397a
new type 'StackValue' for stack elements
|
8 gadi atpakaļ |
Roberto Ierusalimschy
|
b42430fd3a
'lineinfo' in prototypes saved as differences instead of absolute
|
8 gadi atpakaļ |
Roberto Ierusalimschy
|
6d95de83c6
no more field 'base' in CallInfo (base is always equal to 'func + 1',
|
8 gadi atpakaļ |
Roberto Ierusalimschy
|
5c8770f896
back to old-style vararg system (with vararg table collecting extra
|
8 gadi atpakaļ |
Roberto Ierusalimschy
|
a454e884e0
details in 'findsetreg'
|
8 gadi atpakaļ |