Changeset 10428

Show
Ignore:
Timestamp:
08/03/04 00:12:28 (4 years ago)
Author:
rtoy
Message:

Fix bug where things like (truncate x 0) were getting converted into a
left shift of 1 because deftransforms were not checking for the case
of a 0 arg.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/compiler/aliencomp.lisp

    r8868 r10358  
    366366      (abort-transform "Unknown size: ~S" (unparse-alien-type alien-type))) 
    367367    (if (local-alien-info-force-to-memory-p info) 
    368         (if (backend-featurep :x86) 
     368        (if (or (backend-featurep :x86) (backend-featurep :amd64)) 
    369369            `(truly-the system-area-pointer 
    370370                        (%primitive alloc-alien-stack-space 
     
    447447         (alien-type (local-alien-info-type info))) 
    448448    (if (local-alien-info-force-to-memory-p info) 
    449         (if (backend-featurep :x86) 
     449        (if (or (backend-featurep :x86) (backend-featurep :amd64)) 
    450450            `(%primitive dealloc-alien-stack-space 
    451451                         ,(ceiling (alien-type-bits alien-type)