Note removal of post-receive-email in NEWS
[sbcl.git] / src / compiler / x86-64 / macros.lisp
index 04d7ae5..2883d28 100644 (file)
 
 (defmacro popw (ptr &optional (slot 0) (lowtag 0))
   `(inst pop (make-ea-for-object-slot ,ptr ,slot ,lowtag)))
+
+(defun call-indirect (offset)
+  (typecase offset
+    ((signed-byte 32)
+     (inst call (make-ea :qword :disp offset)))
+    (t
+     (inst mov temp-reg-tn offset)
+     (inst call (make-ea :qword :base temp-reg-tn)))))
 \f
 ;;;; macros to generate useful values