Török Edvin
847d7fc1b8
2009->2010
2010-02-02 14:03:32 +02:00
Török Edvin
2d45ef0616
Support for malloc in bytecode. Fix crash with mismatched api/flevel versions.
2010-01-20 20:04:01 +02:00
Török Edvin
52dd3a6bda
Initial support for loading .cbc files from DB.
2009-09-21 20:10:33 +03:00
Török Edvin
2922746173
Fix make distcheck.
2009-09-07 19:29:50 +03:00
Török Edvin
1a486dca3b
Add hidden ctx param to APIcalls.
2009-09-04 12:09:17 +03:00
Török Edvin
4e2959f26a
Fix memory leak.
...
make check VG=1 passes now!
2009-08-31 22:57:43 +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
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
11e86f8ccb
Add debug facilities to bytecode interpreter.
2009-08-18 10:02:56 +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
ac17fc6cdb
fix SIGBUS on Sparc.
...
Need to use the alignment of the largest possible type that we access, which is
uint64_t in this case.
void* can be 32-bits, and uint64_t still requires 64-bit alignment on Sparc,
when compiling for 32-bits (default).
2009-08-02 14:49:05 +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
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