Commit graph

560 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
e2fe75e9c6 The code generated by cmpcbk.lsp passed a wrong # of arguments to ecl_apply_from_stack_frame(). 2009-04-02 15:20:54 +02:00
Juan Jose Garcia Ripoll
005dc07061 Added the possibility of bytecompiling forms and saving them. New module bytecmp uses this to implement COMPILE and COMPILE-FILE. 2009-04-01 02:29:48 +02:00
Juan Jose Garcia Ripoll
93d9283b91 Remove bogus inline expander for CHAR/SCHAR in sysfun.lsp 2009-03-31 11:02:47 +02:00
Juan Jose Garcia Ripoll
ecf055bc5a Fixes for the Windows port, including a flag to make ANSI C streams the default file type. 2009-03-30 14:42:16 +02:00
Juan Jose Garcia Ripoll
64f2670874 Remove function array declaration, which does not work in C++ 2009-03-28 23:06:53 +01:00
Juan Jose Garcia Ripoll
00892c7569 In wt-call, coerce directly to cl_object so that C++ compiler dos not complain. 2009-03-28 23:06:27 +01:00
Juan Jose Garcia Ripoll
a490be86fa Merge branch 'master' into new_cfun 2009-03-23 22:25:55 +01:00
Juan Jose Garcia Ripoll
7cf74b073b Remove debug statements 2009-03-23 22:17:27 +01:00
Juan Jose Garcia Ripoll
b62f153ed3 Merge in the latest changes from master branch 2009-03-23 21:51:32 +01:00
Juan Jose Garcia Ripoll
3835a482f8 Do not use closures to allow debugging c1let/c1let* 2009-03-23 20:09:42 +01:00
Juan Jose Garcia Ripoll
1c214bf454 Inline MAKE-ARRAY in terms of MAKE-PURE-ARRAY and FILL-ARRAY-WITH-ELT/SEQ, and output the array type. 2009-03-07 11:53:06 +01:00
Juan Jose Garcia Ripoll
acda56e602 Export C name for FILL-ARRAY-WITH-SEQ 2009-03-07 11:52:31 +01:00
Juan Jose Garcia Ripoll
d4c9460c32 Fix the criteria for using inlined expansions from sysfun.lsp. 2009-03-06 23:51:17 +01:00
Juan Jose Garcia Ripoll
d9919fa312 Ignore TYPE declarations that contain a function type, even if it is a DEFTYPE'd one. 2009-02-27 20:05:40 +01:00
Juan Jose Garcia Ripoll
22b070d0ac Removed ecl_stack_{push,pop,set_index}. Fixed ECL_STACK_SET_INDEX. 2009-02-25 20:52:48 +01:00
Juan Jose Garcia Ripoll
8fe85d2e7c Introduce ECL_STACK_INDEX macro 2009-02-25 19:11:28 +01:00
Juan Jose Garcia Ripoll
16849b5eb3 In C++ it is not possible to forward-declare a static array. We thus have to change the code for building the compiler_cfuns[] array in compiled code. 2009-02-23 14:13:53 +01:00
Juan Jose Garcia Ripoll
21747e54da Missing definition for cl_env_copy. 2009-02-23 11:58:14 +01:00
Juan Jose Garcia Ripoll
c6fe981f87 The generation of new block ids is now thread safe. 2009-02-21 23:26:42 +01:00
Juan Jose Garcia Ripoll
8004e7e027 Removed the entry_fixed pointer because we are not using it. 2009-02-21 22:51:36 +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
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
83e6a0f77e Simplified the C code for fast function calls. 2009-02-16 12:44:28 +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
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
150398b8b1 Extended strings are now arrays of 32-bit integers. 2009-02-07 19:54:34 +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
Juan Jose Garcia Ripoll
3c3dafa315 When ECL is built with --enable-unicode, it uses its own database for Unicode properties instead of tolower, toupper, etc. 2009-01-10 22:45:38 +01:00
Juan Jose Garcia Ripoll
87e95b9909 FILE-STRING-LENGTH only works with file streams. The code compiles again with --disable-unicode. 2009-01-04 13:57:50 +01:00
Juan Jose Garcia Ripoll
c9b36e4005 Merged the new_signals branch. 2008-12-23 12:08:29 +01:00