Changeset 8310


Ignore:
Timestamp:
12/28/04 12:29:21 (17 years ago)
Author:
piso
Message:

COMPILE-CONS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/jvm.lisp

    r8308 r8310  
    22;;;
    33;;; Copyright (C) 2003-2004 Peter Graves
    4 ;;; $Id: jvm.lisp,v 1.325 2004-12-28 02:21:58 piso Exp $
     4;;; $Id: jvm.lisp,v 1.326 2004-12-28 12:29:21 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    36113611
    36123612(defun compile-cons (form &key (target *val*) representation)
    3613   (unless (= (length form) 3)
    3614     (error "Wrong number of arguments for CONS."))
    3615   (let ((new-form (rewrite-function-call form)))
    3616     (when (neq new-form form)
    3617       (return-from compile-cons (compile-form new-form :target target))))
     3613  (require-args form 2)
    36183614  (emit 'new +lisp-cons-class+)
    36193615  (emit 'dup)
Note: See TracChangeset for help on using the changeset viewer.