From 13c9b250a9944807ab59d54f733c580fca449198 Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Wed, 2 Jan 1991 19:13:58 +0000
Subject: [PATCH] Ripped out :policy specs in unsafe transforms, as this
 semantics is automatically handled by VALID-FUNCTION-USE.

---
 compiler/float-tran.lisp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/compiler/float-tran.lisp b/compiler/float-tran.lisp
index 95cee45ec..27ac8c663 100644
--- a/compiler/float-tran.lisp
+++ b/compiler/float-tran.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman (FAHLMAN@CMUC). 
 ;;; **********************************************************************
 ;;;
-;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/float-tran.lisp,v 1.9 1990/12/12 00:08:45 ram Exp $
+;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/float-tran.lisp,v 1.10 1991/01/02 19:13:58 ram Exp $
 ;;;
 ;;; This file contains floating-point specific transforms, and may be somewhat
 ;;; implementation dependent in its assumptions of what the formats are.
@@ -240,7 +240,7 @@
 		       (declare (ignore x))
 		       type)
 		   args)))
-    (let ((rtype (when assert-result '(float :policy (zerop safety)))))
+    (let ((rtype (when assert-result '(float))))
       `(progn
 	 (deftransform ,name (,args ,(frob 'single-float) ,@rtype)
 	   '(coerce (,prim ,@(mapcar #'(lambda (arg)
@@ -254,7 +254,7 @@
 (def-irrat-transforms expt %pow (x y) t)
 (def-irrat-transforms log %log (x) t)
 
-(deftransform log ((x y) (float float) float :policy (zerop safety))
+(deftransform log ((x y) (float float) float)
   '(/ (log x) (log y)))
 
 (def-irrat-transforms sqrt %sqrt (x) t)
-- 
GitLab