Changeset 12411
- Timestamp:
- 01/31/10 20:13:07 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/compiler-pass1.lisp
r12409 r12411 1239 1239 ,@body))) 1240 1240 (lambda-list-mismatch (x) 1241 ( warn "Invalid function call: ~S (mismatch type: ~A)"1242 form (lambda-list-mismatch-type x))1241 (compiler-warn "Invalid function call: ~S (mismatch type: ~A)" 1242 form (lambda-list-mismatch-type x)) 1243 1243 form)) 1244 1244 (if (unsafe-p args) … … 1302 1302 (setf (compiland-%single-valued-p *current-compiland*) nil))))) 1303 1303 (p1-default form)) 1304 1305 (defun %funcall (fn &rest args) 1306 "Dummy FUNCALL wrapper to force p1 not to optimize the call." 1307 (apply fn args)) 1304 1308 1305 1309 (defknown p1 (t) t) … … 1370 1374 (p1-function-call form)))) 1371 1375 ((and (consp op) (eq (%car op) 'LAMBDA)) 1372 (p1 (rewrite-function-call form))) 1376 (let ((maybe-optimized-call (rewrite-function-call form))) 1377 (if (eq maybe-optimized-call form) 1378 (p1 `(%funcall (function ,op) ,@(cdr form))) 1379 (p1 maybe-optimized-call)))) 1373 1380 (t 1374 1381 form))))))
Note: See TracChangeset
for help on using the changeset viewer.