Commit graph

5092 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
a60ccc889d The braces code is now extended to callbacks, FLET/LABELS, lambda forms, LET/LET* forms 2012-12-01 00:27:31 +01:00
Juan Jose Garcia Ripoll
1c95758108 Use the new brace routines in BLOCK, TAGBODY, CATCH, UNWIND-PROTECT, multiple values 2012-12-01 00:10:07 +01:00
Juan Jose Garcia Ripoll
9131c1774e Make the first and last braces in the function unindented 2012-11-30 23:45:51 +01:00
Juan Jose Garcia Ripoll
f0641407e8 New routines to open/close braces in the C code 2012-11-30 23:41:47 +01:00
Juan Jose Garcia Ripoll
9ffb48f149 Remove unused files from emacs.el 2012-11-30 23:41:29 +01:00
Juan Jose Garcia Ripoll
ce449ab9e8 copy-subarray is now inlined and used in arraylib.lsp 2012-11-30 11:56:28 +01:00
Juan Jose Garcia Ripoll
2e77344a54 Remove two more uses of (truly-the cons) 2012-11-30 11:21:26 +01:00
Juan Jose Garcia Ripoll
331b892d34 Slight optimizations in ARRAY-IN-BOUNDS-P 2012-11-30 11:19:27 +01:00
Juan Jose Garcia Ripoll
4a3b36ec4d Inline form for array-rank 2012-11-30 11:18:49 +01:00
Juan Jose Garcia Ripoll
5f95206e67 Simplified the code in seqlib.lsp, replacing (C[AD]R (TRULY-THE CONS ...)) with (CONS-C[AD]R ...) 2012-11-30 10:37:29 +01:00
Juan Jose Garcia Ripoll
d4f3cab76f In cmparray.lsp, some assertions were produced in unsafe mode. We now rely on optional-type-assertion to prevent this. 2012-11-30 10:24:09 +01:00
Juan Jose Garcia Ripoll
f32174203b Simplified the code for type assertions in the compiler 2012-11-30 10:23:36 +01:00
Juan Jose Garcia Ripoll
8723188e73 fill-array-with-seq can be 'hidden' as local function 2012-11-30 09:18:37 +01:00
Juan Jose Garcia Ripoll
4e17f5d1d8 Simplify the with-*-syntax macros using with-clean-symbols 2012-11-29 23:03:41 +01:00
Juan Jose Garcia Ripoll
61e4cdb065 with-clean-symbols moved to cmuutil.lsp and used in iolib.lsp 2012-11-29 22:50:19 +01:00
Juan Jose Garcia Ripoll
3abdab1bbb In LET/LET* do not replace a read-only variable when its value is a global variable and is used more than once 2012-11-29 22:28:43 +01:00
Juan Jose Garcia Ripoll
ec1fe8781a When exiting the asynchronous signal handling thread, ensure that the environment is not protected. 2012-11-28 00:20:51 +01:00
Juan Jose Garcia Ripoll
15033d5a8a Events in the signal queue should be appended, not prepended to the list 2012-11-27 23:43:17 +01:00
Juan Jose Garcia Ripoll
c4a538dd27 Fixed typo in queue_signal(): instead of popping a cons from the signal queue, the cons was discarded. 2012-11-27 23:40:11 +01:00
Juan Jose Garcia Ripoll
d674020bd8 '. returned SI:|.| while this is an internal way to construct lists 2012-11-27 22:30:06 +01:00
Juan Jose Garcia Ripoll
04bcc1414d potential_number_p() did not use the fact that potential numbers must contain one digit 2012-11-27 22:03:47 +01:00
Juan Jose Garcia Ripoll
9e0d6e50b0 Disable slot accessor optimizations 2012-11-26 23:38:40 +01:00
Juan Jose Garcia Ripoll
7c278d1573 Replaced instance-ref-safe with clos:safe-instance-ref, which is now part of the core 2012-11-26 23:06:18 +01:00
Juan Jose Garcia Ripoll
6fdccc3212 Remove debug statements from cmppolicy.lsp 2012-11-26 23:04:53 +01:00
Juan Jose Garcia Ripoll
00c326f7a9 Under no circumstance can slot-value over an slot ignore the slot-unbound error, even if the code is declared unsafe. 2012-11-26 22:36:02 +01:00
Juan Jose Garcia Ripoll
652ca5256c Several policies were activated for all SPEED declarations 2012-11-25 23:58:11 +01:00
Juan Jose Garcia Ripoll
570c5f49d5 Inlining slot accessors used instance-ref instead of safe-instance-ref 2012-11-25 23:57:49 +01:00
Juan Jose Garcia Ripoll
3d67ce8d0f The slot accessors were inlined with instance-ref instead of safe-instance-ref 2012-11-25 22:00:08 +01:00
Juan Jose Garcia Ripoll
d246049e4b The bytecodes optimized function calls to core functions with fixed number of arguments, but they are redefined in some libraries. 2012-11-24 23:49:03 +01:00
Juan Jose Garcia Ripoll
34b1d6b27e In shared-initialize, call validate-superclass _only_ after the class has been initialized with no superclasses. 2012-11-24 21:54:18 +01:00
Juan Jose Garcia Ripoll
707cd1e930 SLOT-VALUE-USING-CLASS did not invoke SLOT-UNBOUND 2012-11-24 18:39:15 +01:00
Juan Jose Garcia Ripoll
e95fa190cc The code in cmplam.lsp still used si:failed instead of the symbol si:missing-keyword to determine whether a keyword is missing. 2012-11-20 00:48:29 +01:00
Juan Jose Garcia Ripoll
40704355d4 Improve closure computation type 2012-11-19 22:58:24 +01:00
Juan Jose Garcia Ripoll
b6627edad8 Link in ecl-help to avoid problems in standalone programs that need DOCUMENTATION 2012-11-18 02:30:40 +01:00
Juan Jose Garcia Ripoll
0dd6e5e5cb Make sb-bsd-sockets an alias for sockets listing the latter as an ASDF dependency 2012-11-18 02:22:16 +01:00
Juan Jose Garcia Ripoll
b970c5b206 Use mutual references to do some backtracking in LABELS forms, updating the functions that recursively call the LABELS functions. 2012-11-11 18:35:57 +01:00
Juan Jose Garcia Ripoll
44cf97c512 Keep track of mutual references between functions adding fun-referencing-funs 2012-11-11 18:06:32 +01:00
Juan Jose Garcia Ripoll
2e294b38b6 (FUNCTION (LAMBDA ...)) is implemented using FLET
Change FSET accordingly
2012-11-11 17:29:14 +01:00
Juan Jose Garcia Ripoll
cd7af81f8a COMPUTE-CLOSURE-TYPE stops earlier when it finds that the type is a full closure. 2012-11-11 02:02:01 +01:00
Juan Jose Garcia Ripoll
f316c42396 Add functions referenced by children to their parent. 2012-11-11 01:49:20 +01:00
Juan Jose Garcia Ripoll
26aeb1c1c2 No need to compute the closure type when it is already a full closure. 2012-11-11 01:41:33 +01:00
Juan Jose Garcia Ripoll
9c8b0a1521 New function for updating the closure of many functions, until they converge. 2012-11-11 01:37:40 +01:00
Juan Jose Garcia Ripoll
4a8d401a5e compute-fun-closure-type renamed to update-fun-closure-type, where compute-closure-type is now a separate function devoted to the actual computation. 2012-11-11 01:31:07 +01:00
Juan Jose Garcia Ripoll
4f83a0317c In cmpflet.lsp, child-p is now a standalone, non-recursive function 2012-11-11 01:21:15 +01:00
Juan Jose Garcia Ripoll
1f7c3a2ab7 Eliminated the function fun-referenced-local-vars 2012-11-11 01:17:29 +01:00
Juan Jose Garcia Ripoll
6b9e9cac9c Changed 'referred' -> 'referenced' 2012-11-11 01:12:26 +01:00
Juan Jose Garcia Ripoll
e06ff1f414 Remove inexistent files from emacs.el 2012-11-11 01:12:13 +01:00
Juan Jose Garcia Ripoll
e51bc95e24 Remove debug statements from compiled and optimized setf-forms. 2012-11-10 23:32:43 +01:00
Juan Jose Garcia Ripoll
c5d7b4c960 The value of *CURRENT-PROCESS* must be bound by ecl_import_current_thread(). 2012-11-09 22:20:01 +01:00
Juan Jose Garcia Ripoll
99b1e54eb0 GC_allow_register_threads is only provided in recent versions of the collector. 2012-11-01 21:53:55 +01:00