Changeset 4880


Ignore:
Timestamp:
11/23/03 19:16:31 (18 years ago)
Author:
piso
Message:

Added compiler macro for SYSTEM::%ASET.

File:
1 edited

Legend:

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

    r4879 r4880  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: precompiler.lisp,v 1.10 2003-11-23 18:59:29 piso Exp $
     4;;; $Id: precompiler.lisp,v 1.11 2003-11-23 19:16:31 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    4444         `(memql ,(first args) ,(second args)))
    4545        (t form)))
     46
     47(define-compiler-macro %aset (&whole form &rest args)
     48  (if (= (length args) 3)
     49      `(%set-row-major-aref ,(first args) ,(second args) ,(third args))
     50      form))
    4651
    4752(define-compiler-macro identity (&whole form &rest args)
Note: See TracChangeset for help on using the changeset viewer.