Commit graph

2781 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
1215375d0a Slight optimizations of C code for OP_POPREST/PUSHKEYS 2009-02-21 00:52:44 +01:00
Juan Jose Garcia Ripoll
03ed288a85 New bytecodes for parsing the arguments of an interpreted function. 2009-02-21 00:07:16 +01:00
Juan Jose Garcia Ripoll
69bdd4f3ff Slight simplification of the ecl_stack_frame structure, with changes associated to interpreter, gfun and apply 2009-02-19 00:04:31 +01:00
Juan Jose Garcia Ripoll
9fb6a858d2 Rule for creating assembly files. 2009-02-18 21:11:33 +01:00
Juan Jose Garcia Ripoll
44d23d1cdf Factor the code for creating stack frames from varargs. Removed some arguments from ecl_apply_from_stack_frame and _ecl_standard_dispatch. 2009-02-17 23:40:27 +01:00
Juan Jose Garcia Ripoll
f927dbd2f8 Remove unneeded level of nesting in LIST-MERGE-SORT. MERGE uses now fast function calls and saves a couple of calls to KEY and ELT. 2009-02-16 16:56:29 +01:00
Juan Jose Garcia Ripoll
1e7935ea46 Reimplemented seqlib.lsp using macros that speed up calling predicats and key functions. 2009-02-16 16:04:36 +01:00
Juan Jose Garcia Ripoll
9ccd82b179 Declarations for speed 2009-02-16 16:04:12 +01:00
Juan Jose Garcia Ripoll
77907601b0 SEARCH-KEYWORD is used very often, add it to the list of C exported functions 2009-02-16 16:03:58 +01:00
Juan Jose Garcia Ripoll
a4b7fca01b Removed debug statement 2009-02-16 16:03:25 +01:00
Juan Jose Garcia Ripoll
83e6a0f77e Simplified the C code for fast function calls. 2009-02-16 12:44:28 +01:00
Juan Jose Garcia Ripoll
c1cef0d157 Use the new function call model for sequences. 2009-02-16 12:18:02 +01:00
Juan Jose Garcia Ripoll
0aa9ec14cd Fixed typo 2009-02-16 12:17:42 +01:00
Juan Jose Garcia Ripoll
a475d5bcba Simplified c2call-global by taking the type propagation for (SETF AREF)/AREF into separate functions 2009-02-15 23:53:03 +01:00
Juan Jose Garcia Ripoll
21ab17c30b During compilation of function calls, the NARG parameter is useless, since it can be calculated. 2009-02-15 20:05:53 +01:00
Juan Jose Garcia Ripoll
6d1fafc608 Minor correction in comments. 2009-02-15 19:48:07 +01:00
Juan Jose Garcia Ripoll
ed0a29b5b9 Simplified C2FUNCALL eliminating unused code 2009-02-15 19:40:17 +01:00
Juan Jose Garcia Ripoll
b331ae3523 FUNCTION forms have output type FUNCTION 2009-02-15 19:39:47 +01:00
Juan Jose Garcia Ripoll
fffb57cc2a Small comment on call-global c1forms 2009-02-15 19:39:23 +01:00
Juan Jose Garcia Ripoll
afdd5b9831 Small typo. 2009-02-15 18:58:23 +01:00
Juan Jose Garcia Ripoll
8697d90d4b The {instance,bytecodes,bclosure}.entry{,_fixed} fields were not always filled 2009-02-15 16:25:01 +01:00
Juan Jose Garcia Ripoll
85cf59cee6 Fixed typo. 2009-02-15 13:19:04 +01:00
Juan Jose Garcia Ripoll
75d0ea3434 Allow calling a function object directly by the entry pointer. 2009-02-15 13:10:24 +01:00
Juan Jose Garcia Ripoll
b2d8447f1a FUNCTION is now a valid compiler type 2009-02-15 13:07:45 +01:00
Juan Jose Garcia Ripoll
a1bc92b05c Changed the way closures are invoked, to make them similar to generic functions and bytecodes 2009-02-15 12:05:56 +01:00
Juan Jose Garcia Ripoll
f35ca512a2 Code for directly using the pointers in function objects. 2009-02-15 00:06:49 +01:00
Juan Jose Garcia Ripoll
3eb2c66b9d New function for safety policy regarding assumed types of function arguments. 2009-02-15 00:05:36 +01:00
Juan Jose Garcia Ripoll
870c8ff83e Output the name of the offending binary file when no tag is found. 2009-02-15 00:04:15 +01:00
Juan Jose Garcia Ripoll
e4870189d2 All function objects now have function pointers. 2009-02-14 21:44:16 +01:00
Juan Jose Garcia Ripoll
9f42309fbd Finished the new dispatch code. 2009-02-14 00:01:57 +01:00
Juan Jose Garcia Ripoll
f096fdac51 Initial changes for a common dispatch function 2009-02-13 17:05:21 +01:00
Juan Jose Garcia Ripoll
244f204e65 Solve some quirks from OpenBSD: -lpthread is needed, sys/types.h does not include pthread_t, some additional macros for threads. 2009-02-13 14:41:11 +01:00
Juan Jose Garcia Ripoll
07bb6dd424 Allow entering the debugger when a form is evaluated in the compiler. 2009-02-11 23:29:59 +01:00
Juan Jose Garcia Ripoll
4230533d58 The interface for ihs_push has changed 2009-02-11 23:07:11 +01:00
Juan Jose Garcia Ripoll
79006a2b8f Move ihs_push statements to a place where some compilers do not complain (S. Gromoff) 2009-02-11 22:46:19 +01:00
Juan Jose Garcia Ripoll
521fa5da46 MSVC does not have unistd.h 2009-02-11 22:33:20 +01:00
Juan Jose Garcia Ripoll
73ead1c523 character_p is not used. (S. Gromoff) 2009-02-11 22:32:05 +01:00
Juan Jose Garcia Ripoll
95e5ac1867 Windows does not have all POSIX permission flags (S. Gromoff) 2009-02-11 22:30:36 +01:00
Juan Jose Garcia Ripoll
6da470c25e Solve some typos with file handles in Windows. 2009-02-11 22:29:09 +01:00
Juan Jose Garcia Ripoll
045b6d6ab1 STD{in,out,err}_FILENO is not defined in Windows (S. Gromoff) 2009-02-11 22:18:56 +01:00
Juan Jose Garcia Ripoll
bd7da68ebf Using fwrite() to write a string, we miss the right character count 2009-02-09 21:27:19 +01:00
Juan Jose Garcia Ripoll
acfb2b748f Include stdio.h for the FILE type and use it in the definition of streams. Solves problems with void * type casts in BSD systems. 2009-02-08 17:47:33 +01:00
Juan Jose Garcia Ripoll
b788fe6360 In case of failure, mmap() returns MAP_FAILED, not MAP_FAIL (got it wrong from a webpage). 2009-02-08 17:31:10 +01:00
Juan Jose Garcia Ripoll
150398b8b1 Extended strings are now arrays of 32-bit integers. 2009-02-07 19:54:34 +01:00
Juan Jose Garcia Ripoll
1dc66edf3d Use a union type for storing the ANSI C stream handle and the POSIX file descriptor 2009-02-07 18:07:19 +01:00
Juan Jose Garcia Ripoll
7308dc932d SETF for structures that are specialized vectors 2009-02-07 16:44:51 +01:00
Juan Jose Garcia Ripoll
b9436ff2f2 Strings do not have a elttype field. 2009-02-01 19:09:15 +01:00
Juan Jose Garcia Ripoll
b334585e3b Fixed typo in the definition of invalid_codepoint() 2009-01-30 09:41:23 +01:00
Juan Jose Garcia Ripoll
60af256996 The previous fix did not include all possible values of structure-type. 2009-01-29 10:49:29 +01:00
Juan Jose Garcia Ripoll
15559cb364 If the structure has a specialized vector type, use AREF instead of SVREF. 2009-01-27 23:03:17 +01:00