Roberto Ierusalimschy 23e6bac8a0 Keep correct type for immediate operands in comparisons
When calling metamethods for things like 'a < 3.0', which generates
the opcode OP_LTI, the C register tells that the operand was
converted to an integer, so that it can be corrected to float when
calling a metamethod.

This commit also includes some other stuff:
- file 'onelua.c' added to the project
- opcode OP_PREPVARARG renamed to OP_VARARGPREP
- comparison opcodes rewritten through macros
2019-03-22 13:37:17 -03:00
2019-03-14 15:30:54 -03:00
2018-10-25 15:30:15 -03:00
2019-03-14 15:30:54 -03:00
2019-03-14 15:30:54 -03:00
2019-01-04 13:09:47 -02:00
2019-03-13 13:16:53 -03:00
2019-03-14 15:53:42 -03:00
2019-03-15 13:14:17 -03:00
2018-10-23 12:58:38 -03:00
2019-03-15 13:14:17 -03:00
2018-11-22 13:56:04 -02:00
2019-03-14 15:30:54 -03:00
2019-03-14 15:30:54 -03:00
2019-03-14 15:30:54 -03:00
2019-03-14 15:30:54 -03:00
Description
No description provided
18 MiB
Languages
C 67.3%
Lua 32.1%
Makefile 0.6%