Commit graph

155 commits

Author SHA1 Message Date
Egor Sheremetov
3b54121ca8 fixed local symbols issue for mac 2024-07-11 15:19:22 +02:00
Egor Sheremetov
02d00572d6 Changed regex functions to the ones that comply with POSIX 2024-07-11 15:19:22 +02:00
Egor Sheremetov
a174d13c22 Fixed runtime/GC-related issues 2024-07-11 15:19:22 +02:00
Egor Sheremetov
c9ce273e2e Added support for array-like args instead of varargs 2024-07-11 15:19:22 +02:00
Egor Sheremetov
73edd5603d Debug prints added 2024-07-11 15:19:22 +02:00
Roman Venediktov
618dbdfc0f Implement safepoint call 2024-07-11 15:19:22 +02:00
danyaberezun
903164568c mac: last attempt 2024-07-11 15:19:22 +02:00
danyaberezun
43f5760a7e add std flag to clang 2024-07-11 15:19:22 +02:00
danyaberezun
1aefb02da7 runtime: change gcc to clang 2024-07-11 15:19:22 +02:00
danyaberezun
62c8df3012 add include regex h 2024-07-11 15:19:22 +02:00
Roman Venediktov
db296f5259 Final commit 2024-07-11 15:19:22 +02:00
Roman Venediktov
db9067b748 Fix all prints 2024-07-11 15:19:22 +02:00
danyaberezun
d76d2a02ea implement Lprintf in asm; fix int to aint in runtime 2024-07-11 15:19:22 +02:00
Egor Sheremetov
e0189d5654 Added asm wrapper for printf 2024-07-11 15:19:22 +02:00
Egor Sheremetov
f6516bae63 Added stack alignment check, fixed Makefile to build target in x86-64 mode 2024-07-11 15:19:22 +02:00
Roman Venediktov
3ae187683a Remove vararg processing & align stack 2024-07-11 15:19:22 +02:00
Egor Sheremetov
6359a1731c Added X64_64 support for the x86-64 platform 2024-07-11 15:19:22 +02:00
Roman Venediktov
c89cc167ef New bunch of fixes 2024-07-11 15:19:22 +02:00
Roman Venediktov
e77433e51c Prototype of X86_64 migration 2024-07-11 15:19:22 +02:00
Danya Berezun
3fdc3e7f2a crap code 2024-07-11 15:19:22 +02:00
Danya Berezun
b22daf080d fix merge typo 2023-10-04 12:28:56 +02:00
Danya Berezun
9fbd99ab7a resolve merge 2023-10-04 12:11:33 +02:00
Egor Sheremetov
304c21260e Removed currently unused flag __ENABLE_GC__ 2023-10-04 04:17:40 +02:00
Egor Sheremetov
b5a0b81d11 Got rid of ASM for runtime pre_gc, post_gc and stack scan 2023-09-29 19:40:01 +02:00
Danya Berezun
ec9beed470 upd comments 2023-09-05 20:56:10 +02:00
Danya Berezun
63f73f3c96 uncomment Lbinoperror-s functions 2023-09-04 21:54:38 +02:00
Danya Berezun
17a7aa0116 fix warnings 2023-09-04 21:44:26 +02:00
Egor Sheremetov
89536c67e0 Included lama compilation in root's make regression target 2023-09-04 13:25:12 +02:00
Egor Sheremetov
52ef663986 Fixed bug for version without extra word for sexp 2023-08-28 11:19:02 +02:00
Egor Sheremetov
c61159cfc6 Different PRE_GC and POST_GC attempt, floating 0 bug is present again 2023-08-14 09:40:56 +02:00
Egor Sheremetov
3937ecf387 Removed extra word in sexp 2023-08-09 20:16:51 +02:00
Egor Sheremetov
99ce39ca28 Debug output is now hidden when DEBUG_VERSION compilation option is off, added LAMA_ENV compilation option to control whether global area scan is needed 2023-07-28 16:37:39 +02:00
Egor Sheremetov
ffa0b69841 Added checks that stack-frame didn't move 2023-07-24 10:01:35 +02:00
danyaberezun
ce0b369958 fix: do not fix extra root if it points to lama stack; uncomment extra roots registration; rise error if binary operation is done over pointers 2023-07-03 17:58:55 +02:00
Danya Berezun
8bc173762d fix 2023-06-29 20:05:54 +02:00
Egor Sheremetov
31551e73fd Added check of invariance of objects' topology before and after compaction 2023-06-20 16:22:35 +02:00
danyaberezun
ccd04c2159 add clang-format; reformat files 2023-05-31 11:01:11 +02:00
Egor Sheremetov
4eea9a7933 Fixed bug in physically_relocate + bug fix in runtime.c list iteration 2023-05-23 13:40:46 +02:00
Egor Sheremetov
313997496d Added tests + fixed bunch of bugs in GC implementation 2023-04-26 14:22:14 +02:00
danyaberezun
d23a0fcf61 fflush stdout before failure in vfailure 2023-03-29 14:26:53 +02:00
Egor Sheremetov
113c57e7c8 First version of mark-compact GC, runtime.c is severely outdated at the moment 2023-03-27 10:09:54 +02:00
Dmitry Boulytchev
1bafe839dc Merge branch '1.10' of github.com:JetBrains-Research/Lama into 1.10 2023-03-12 05:30:58 +03:00
Dmitry Boulytchev
03adc4df07 Fixed spec 2023-03-12 05:28:12 +03:00
soarex
eb11bd1add Fix incorrect handling of mmap error 2023-01-09 02:47:24 +03:00
Dmitry Boulytchev
f47d872df1 Sync 2022-11-01 09:22:19 +03:00
kakadu
d17ceb3c53 Runtime: Initializate concatenation buffer by zeros
There was a bug about stringcat-ing of empty list,
where it would be filled by garbage. It seems to
happen becase stringBuf.contents are used without
proper check of length of the buffer. We defend from
that my initializing buffer by zeros (end of string)

Signed-off-by: kakadu <kakadu@pm.me>
2022-10-10 18:31:27 +03:00
Dmitry Boulytchev
d0cc8d0fa9 Fixed bug in makeArray 2022-02-14 01:13:14 +03:00
Dmitry Boulytchev
69c0b89e3c Switching off invalid hashconsing 2022-01-31 23:46:18 +03:00
Dmitry Boulytchev
f953814c76 Fixed bug in potential reuse of args in vsnprintf 2021-12-03 03:56:58 +03:00
Dmitry Boulytchev
9ff649e563 fexists added 2021-11-19 01:38:22 +03:00