mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-02 07:30:55 -08:00
Call upgraded-array-element-type directly instead of using cl_funcall.
This commit is contained in:
parent
5c387aa367
commit
83d3be00ea
2 changed files with 7 additions and 1 deletions
|
|
@ -540,7 +540,7 @@ ecl_symbol_to_elttype(cl_object x)
|
|||
else if (x == Cnil) {
|
||||
FEerror("ECL does not support arrays with element type NIL", 0);
|
||||
}
|
||||
x = cl_funcall(2, @'upgraded-array-element-type', x);
|
||||
x = cl_upgraded_array_element_type(1, x);
|
||||
goto BEGIN;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -28,6 +28,12 @@
|
|||
* called instead.
|
||||
*/
|
||||
|
||||
extern cl_object
|
||||
cl_upgraded_array_element_type(cl_narg narg, cl_object type, ...)
|
||||
{
|
||||
return cl_funcall(2, @'upgraded-array-element-type', type);
|
||||
}
|
||||
|
||||
extern cl_object
|
||||
si_safe_eval(cl_narg arg, cl_object form, cl_object env, cl_object error_value, ...)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue