Commit graph

220 commits

Author SHA1 Message Date
Török Edvin
09bd983946 Fix bytecode interpreter to work on bigendian machines. 2009-08-18 10:03:26 +03:00
Török Edvin
8cc286f57d Add support for type loader. 2009-08-17 15:25:12 +03:00
Török Edvin
6922903ad9 bytecode: fully switch to a stack based allocation, and operands with various bitwidths. 2009-08-17 15:13:29 +03:00
Török Edvin
82ca2ab420 Specialize operands depending on bitwidth. 2009-08-17 15:13:29 +03:00
Török Edvin
cfec3d90ce bytecode: fix handling of cast and icmp opcodes, improve stack handling. 2009-07-13 19:40:24 +03:00
Török Edvin
30188fccb9 constify 2009-07-13 19:40:24 +03:00
Török Edvin
ac7c05444e bytecode: cache allocated memory, improve performance. 2009-07-09 23:59:01 +03:00
Török Edvin
ec5cccc7ef bytecode: allocate proper stack for functions. 2009-07-09 23:59:01 +03:00
Török Edvin
f3b2dc9e28 Implement ICMP_*. 2009-07-09 23:58:57 +03:00
Török Edvin
8c0933ceab Implement more opcodes and checking. 2009-07-08 18:13:52 +03:00
Török Edvin
957bf65143 Check number of functions loaded. 2009-07-07 23:53:33 +03:00
Török Edvin
e0c4fd853c Start implementing bytecode opcodes. 2009-07-07 23:36:36 +03:00
Török Edvin
7a9022c944 bytecode: setup context to invoke a bytecode function. 2009-07-07 19:58:37 +03:00
Török Edvin
2cad7c395d Fix compiler warnings 2009-07-07 18:56:21 +03:00
Török Edvin
3555ee75bf bytecode: Introduce cli_bc_value to store the result of an operation. Implement More checking. 2009-07-07 17:45:06 +03:00
Török Edvin
d9432eea04 Fix errors from make distcheck. 2009-06-30 16:57:34 +03:00
Török Edvin
a0d6fec082 Add support for internal function calls to bytecode loader. 2009-06-29 18:12:11 +03:00
Török Edvin
f60a0e005e Better error messages for bytecode loader. 2009-06-29 18:12:05 +03:00
Török Edvin
c3c97d4af2 Add support for branches. 2009-06-29 15:01:01 +03:00
Török Edvin
997a1efeb2 Draft of bytecode loader. 2009-06-26 16:30:46 +03:00