Commit Graph

29 Commits

Author SHA1 Message Date
Török Edvin
c466339d01 Rename enum member to not clash with type names. 2009-08-28 18:41:50 +03:00
Török Edvin
85a25497bd really execute the JITed code. 2009-08-27 20:41:29 +03:00
Török Edvin
3b33bd6830 Minimal LLVM codegen. 2009-08-27 18:12:39 +03:00
Török Edvin
d1487222f7 Draft of libclamav <-> jit communication. 2009-08-25 19:06:32 +03:00
Török Edvin
7a14dc4ce9 bytecode: prepare for implementing gep. 2009-08-24 13:43:08 +03:00
Török Edvin
72617ba209 bytecode: Implement load/store. 2009-08-24 11:16:36 +03:00
Török Edvin
36fab4bd13 bytecode: fix memory leak shown by valgrind. 2009-08-20 17:09:25 +03:00
Török Edvin
cf0cd429e9 Implement API calls from bytecode. 2009-08-20 16:33:58 +03:00
Török Edvin
800a79e091 fix make distcheck. 2009-08-18 10:03:36 +03:00
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