Commit Graph

26 Commits

Author SHA1 Message Date
Nikolay Igotti f0950a92c3 Various small fixes. (#208) 2017-01-30 18:36:12 +03:00
Nikolay Igotti b06f5d0d5b More preparations for escape analysis. (#201) 2017-01-30 11:10:32 +03:00
Nikolay Igotti 66293cb89f Frame-local allocations. (#193) 2017-01-24 17:16:54 +03:00
Nikolay Igotti 1c878e4843 Improve object init order. (#187) 2017-01-20 13:31:01 +03:00
Nikolay Igotti 239a573142 GC interface. (#178) 2017-01-13 12:03:38 +03:00
Nikolay Igotti b1101ba43e Cycle collector. (#175) 2017-01-11 17:38:03 +03:00
Nikolay Igotti 7ba096b169 Group slots together. (#166) 2016-12-29 09:00:01 +03:00
Svyatoslav Scherbina 361bb7a101 runtime, backend: simplify static objects layout:
mark static objects with container_offset_negative_ == 0
2016-12-29 12:18:15 +07:00
Nikolay Igotti e65b86ab21 Memory management design and implementation. (#148) 2016-12-27 15:01:18 +02:00
Nikolay Igotti f49c6133f3 Return objects to slot. (#161) 2016-12-26 18:31:50 +02:00
Nikolay Igotti dbc1cb1919 Switch to unrelated ObjHeader and ArrayHeader. (#160) 2016-12-26 11:27:27 +02:00
Konstantin Anisimov de493313f8 RUNTIME: fix of InitInstance constructor parameter 2016-12-06 13:53:07 +03:00
Nikolay Igotti 1fc4ce32d3 Mostly avoid using ArrayHeader* in generated code. (#116) 2016-12-05 15:04:34 +03:00
Nikolay Igotti 1197b8453f Create C++ static initializer for use in global objects. (#115) 2016-12-05 14:01:24 +03:00
Alexander Gorshenev 0e7b13027e Changed AllocStringInstance to accept data and length. 2016-12-01 19:20:12 +04:00
Alexander Gorshenev 2c89fee837 Simplified launcher to utilize some ready made functionality. 2016-12-01 19:20:12 +04:00
Vasily Levchenko b62536f807 RUNTIME: AllocArrayInstance and AllocInstance return ArrayHeader * and ObjHeader * respectively 2016-11-30 14:49:23 +03:00
Konstantin Anisimov dfd486a9ea RUNTIME: Code rearranged between Memory.* and Types.* 2016-11-18 16:22:27 +03:00
Nikolay Igotti cc1b2b9684 Add CheckCast(). 2016-11-16 18:41:36 +03:00
Nikolay Igotti 7eeb2d3046 Various fixes for HelloWorld. (#27) 2016-11-01 15:33:41 +03:00
Nikolay Igotti 8d2c0edd6b Implement instanceof checks. (#23) 2016-10-31 08:14:04 +03:00
Nikolay Igotti cbb5499313 Verify bitcode before write, minor fixes. (#21) 2016-10-27 18:54:38 +03:00
Nikolay Igotti 09cb649c32 Very basic string support. (#10)
String, ByteArray support, type declarations.
2016-10-20 16:04:28 +03:00
Nikolay Igotti 5bbb5a4d13 Comment on race for shared containers, added fourth type for container. 2016-10-14 12:15:53 +03:00
Nikolay Igotti 5786f5a2af Add basic exception supports and tagged refcounting. 2016-10-14 11:10:19 +03:00
Nikolay Igotti fb61896825 Add memory mgmt. 2016-10-11 13:25:11 +03:00