Commit Graph

13 Commits

Author SHA1 Message Date
Thilo Schulz fef4d12d68 Refactoring patch by DevHC 2011-03-05 19:20:37 +00:00
Thilo Schulz 544a1c0c1a - Use MAP_FAILED error code for check whether mmap() was successful
- Replace various malloc() with Z_Malloc
- Fix several memory leaks when VM compilation failed and Com_Error is called
- Make failed mmap/VirtualAlloc/malloc calls fatal
2011-02-10 18:45:28 +00:00
Thilo Schulz 1d2d67cdde strdup still not accepted by some systems. *sigh*. 2011-02-07 03:56:15 +00:00
Thilo Schulz 0e6427f3ff - Hopefully fix (#3984) compiler errors on Solaris while not introducing too many new ones on the other platforms
- With _BSD_SOURCE now explicitly defined bring back strdup to vm_x86_64_assembler.c
2011-02-06 20:26:18 +00:00
Thilo Schulz 0c662f25f2 Make Ludwig happy 2011-01-27 16:41:08 +00:00
Thilo Schulz d1c0401c73 well, shit. 2011-01-27 12:34:58 +00:00
Thilo Schulz 92495a70bc Fix compiler warnings (#4887) 2011-01-27 11:13:39 +00:00
Ludwig Nussel 760f4a1949 64bit Windows support (patch by Michael Menegakis) 2010-02-28 09:00:02 +00:00
Thilo Schulz 5785b45e6a Shut up warn_unused_result warning 2009-11-08 17:00:27 +00:00
Ludwig Nussel 12189381b5 fix cmp imm reg 2009-11-01 19:58:25 +00:00
Ludwig Nussel b7eae0dca5 implement immediate argument for call 2009-11-01 19:58:16 +00:00
Tim Angus 8d8ed0b47a * Fix bad syntax in 64bit assembler (Undeference) 2009-10-06 17:56:36 +00:00
Ludwig Nussel fbe65853e4 new x86_64 vm that doesn't use gas 2007-08-16 11:02:21 +00:00