projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix "unable to read" compiler-error reporting during SBCL build
[sbcl.git]
/
src
/
compiler
/
ppc
/
char.lisp
diff --git
a/src/compiler/ppc/char.lisp
b/src/compiler/ppc/char.lisp
index
af3355f
..
8a4e063
100644
(file)
--- a/
src/compiler/ppc/char.lisp
+++ b/
src/compiler/ppc/char.lisp
@@
-119,13
+119,9
@@
(:translate char>)
(:variant :gt :le))
(:translate char>)
(:variant :gt :le))
-#!-sb-unicode (progn
-;; We can't use these when unicode is enabled because cmplwi has
-;; an immediate field far smaller than the width of some unicode
-;; code points. -- AB, 2010-Apr-24.
(define-vop (character-compare/c)
(:args (x :scs (character-reg)))
(define-vop (character-compare/c)
(:args (x :scs (character-reg)))
- (:arg-types character (:constant character))
+ (:arg-types character (:constant (satisfies inlinable-character-constant-p)))
(:conditional)
(:info target not-p y)
(:policy :fast-safe)
(:conditional)
(:info target not-p y)
(:policy :fast-safe)
@@
-146,4
+142,3
@@
(define-vop (fast-char>/character/c character-compare/c)
(:translate char>)
(:variant :gt :le))
(define-vop (fast-char>/character/c character-compare/c)
(:translate char>)
(:variant :gt :le))
-) ;; Not sb-unicode