(defmacro popw (ptr &optional (slot 0) (lowtag 0))
`(inst pop (make-ea-for-object-slot ,ptr ,slot ,lowtag)))
+
+(defun call-indirect (offset)
+ (let ((ea (make-ea :qword :disp offset)))
+ (cond ((immediate32-p offset)
+ (inst call ea))
+ (t
+ (inst mov temp-reg-tn ea)
+ (inst call temp-reg-tn)))))
\f
;;;; macros to generate useful values