Commit graph

1597 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
c1bc9cd655 Added more cases to the FFI to handle UINT8/INT8 2010-02-16 10:41:05 +01:00
Juan Jose Garcia Ripoll
d96152798d TRUENAME and PROBE-FILE were not thread safe 2010-02-16 00:08:52 +01:00
Juan Jose Garcia Ripoll
f19c183a90 OPEN-STREAM-P did not support Gray streams 2010-02-15 15:21:45 +01:00
Juan Jose Garcia Ripoll
b486b14e9e Extend the set of types supported by UFFI (Matthew Mondor). 2010-02-13 15:29:41 +01:00
Juan Jose Garcia Ripoll
d500289efa Reorganize the code for OP_LABELS/OP_FLET in ecl_interpret() to occupy less space and get faster. 2010-02-08 23:20:29 +01:00
Juan Jose Garcia Ripoll
94f889e7b8 Factor out some error conditions from the interpreter loop. 2010-02-08 22:05:57 +01:00
Juan Jose Garcia Ripoll
dcbf547822 Avoid using ecl_internal_error() also in ecl_bds_overflow and ecl_frs_oveflow. 2010-02-08 13:01:45 +01:00
Juan Jose Garcia Ripoll
81e054971e ecl_cs_overflow() and SIGSEGV handler now share the same strategy: jump to the outermost frame when the error can not be cured. 2010-02-08 12:46:13 +01:00
Juan Jose Garcia Ripoll
5c25fc1f5f Avoid using _ecl_big_register_normalize() in alloc_2.d 2010-02-07 23:22:26 +01:00
Juan Jose Garcia Ripoll
bcfd36cb8f Number of allocated bytes was didn't have to be multiplied by anything. Reset GC counters every time we call GC-STATS. 2010-02-07 23:02:29 +01:00
Juan Jose Garcia Ripoll
12c497b347 Implemented SBCL's extension EXT:*INVOKE-DEBUGGER-HOOK* 2010-02-07 20:42:29 +01:00
Juan Jose Garcia Ripoll
6b7640e332 Solved a problem with packages to be created in a compiled file not being recognized as having been created -- the value of cl_core.packages_to_be_created was not properly updated. 2010-02-07 15:48:19 +01:00
Juan Jose Garcia Ripoll
17fc75fcc1 Fixed typo. 2010-02-07 14:54:16 +01:00
Juan Jose Garcia Ripoll
9165901f6d Fixed a typo in EXT:GC-STATS that left statistics printing activated. 2010-02-07 12:17:35 +01:00
Juan Jose Garcia Ripoll
20d4a35287 Symbols SI:+{IO,ECL}-SYNTAX-PROGV-LIST+ were not declared constants. 2010-02-07 10:36:16 +01:00
Juan Jose Garcia Ripoll
11a6f89a70 Internal variable SI:*ALLOW-WITH-INTERRUPTS* not declared special. 2010-02-07 01:39:11 +01:00
Juan Jose Garcia Ripoll
2dd21b7cd1 (EXT:GC-STATS :FULL) now tells the garbage collector to produce full statistics. 2010-02-07 00:02:52 +01:00
Juan Jose Garcia Ripoll
bda247e139 Improve previous change. 2010-02-06 23:57:49 +01:00
Juan Jose Garcia Ripoll
d5dda8ff8e Mingw defines 'environ' to be a macro instead of a global variable. 2010-02-06 23:51:25 +01:00
Juan Jose Garcia Ripoll
5fd309897b Use __builtin_expect() in the dispatch functions. 2010-02-04 21:25:17 +01:00
Juan Jose Garcia Ripoll
790d466cec Reduce the size of the core using GCC's __attribute__((noreturn)) 2010-02-04 21:18:24 +01:00
Juan Jose Garcia Ripoll
337819233d Replace use of __builtin_expect() with two macros, ecl_{likely,unlikely} 2010-02-04 16:54:05 +01:00
Juan Jose Garcia Ripoll
7d9fb8bbc7 Mark FEprogram_error as noreturn. 2010-02-04 00:31:03 +01:00
Juan Jose Garcia Ripoll
a2337a4d93 FEinvalid_function and FEundefined_function marked as __attribute((noreturn)). 2010-02-04 00:05:01 +01:00
Juan Jose Garcia Ripoll
40ee2b29eb Use of __builtin_expect() to mark rare error conditions. Use of __attribute__((noreturn)) on error functions which are used at the beginning of a function and do not have possibility of triggering a longjmp int the same function. 2010-02-03 23:30:16 +01:00
Juan Jose Garcia Ripoll
d73502b8f3 CLOS::*NEXT-METHODS* and CLOS::.COMBINED-METHOD-ARGS. are now globally declared special. 2010-02-03 23:29:08 +01:00
Juan Jose Garcia Ripoll
2908aabbbc Undo previous garbage collector change. 2010-02-03 22:43:04 +01:00
Juan Jose Garcia Ripoll
6c77033ad6 When marking the environment, only mark pages that are dirty. 2010-02-03 21:01:05 +01:00
Juan Jose Garcia Ripoll
6ddf0a5c4c Fixed typo. 2010-02-02 19:39:35 +01:00
Juan Jose Garcia Ripoll
a5f254cb13 Own marking routine for garbage collection. 2010-02-02 16:53:53 +01:00
Juan Jose Garcia Ripoll
2da3cb5af2 Dispatch allocation to functions using pointers. 2010-02-02 10:30:07 +01:00
Juan Jose Garcia Ripoll
c0c339510b Do not define the free list and new kind unless needed. 2010-02-02 00:05:50 +01:00
Juan Jose Garcia Ripoll
e30ccfaec9 We are using __builtin_expect() which is not portable. Define a macro for non-GCC compilers. 2010-02-02 00:04:38 +01:00
Juan Jose Garcia Ripoll
8f51774f56 Activated code for inline allocation. 2010-02-02 00:00:14 +01:00
Juan Jose Garcia Ripoll
1e4f19a631 Group the precise marking code so that it builds also without --enable-precisegc. 2010-02-01 16:47:27 +01:00
Juan Jose Garcia Ripoll
78ff9930cc Implemented precise marking of objects using Boehm's typed objects. 2010-02-01 14:54:59 +01:00
Juan Jose Garcia Ripoll
20f4c8931e Do not shrink bignum registers. 2010-01-29 14:10:49 +01:00
Juan Jose Garcia Ripoll
b351955296 Moved more uses of _ecl_big_register*() out of sources into big.d. Introduced _ecl_big_gcd(). 2010-01-28 23:36:01 +01:00
Juan Jose Garcia Ripoll
83eddf11f9 Intoduced _ecl_fix_times_fix, _ecl_big_ceiling and _ecl_big_floor. 2010-01-28 23:08:16 +01:00
Juan Jose Garcia Ripoll
5e32e797c9 Created _ecl_fix_times_fix and used it in num_arith.d 2010-01-28 22:13:40 +01:00
Juan Jose Garcia Ripoll
d274206693 Reactivate allocating compact bignums. 2010-01-28 21:42:34 +01:00
Juan Jose Garcia Ripoll
c393747283 Introduced _ecl_big_negate. 2010-01-28 18:14:04 +01:00
Juan Jose Garcia Ripoll
101569dc8f Fixed and used _ecl_fix_minus_big and _ecl_big_minus_big. 2010-01-28 18:03:59 +01:00
Juan Jose Garcia Ripoll
11a1ffb74f Fixed and used _ecl_big_plus_{fix,big} 2010-01-28 17:57:43 +01:00
Juan Jose Garcia Ripoll
4b4e17ac03 New functions for adding, subtracting and multiplying bignums. 2010-01-28 17:25:59 +01:00
Juan Jose Garcia Ripoll
c8f14d68a6 Fixed typo in big.d 2010-01-27 13:52:41 +01:00
Juan Jose Garcia Ripoll
1d7a3c5309 In 'dpp.c', the value of the environment is reused in the @(return) statements. 2010-01-27 13:18:17 +01:00
Juan Jose Garcia Ripoll
1f8e6dd3bb Replaced ecl_symbol_slot and ecl_set_symbol with ecl_bds_read and ecl_bds_set. 2010-01-26 23:14:33 +01:00
Juan Jose Garcia Ripoll
13bb96b627 In critical circumstances, a newly bound special variable that causes the thread-local stack to grow could result in the variable not being bound. 2010-01-26 14:23:15 +01:00
Juan Jose Garcia Ripoll
dcb68018c3 Changes to make the MSVC port work again, including fixes for EXT:RUN-PROGRAM and EXT:EXTERNAL-PROCESS-WAIT. 2010-01-25 22:58:06 +01:00