X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmanual%2Fcompiler.texinfo;h=0c03d9874a29bf33bb2f3850ba3e9ddc386bdb0a;hb=f2db6743b1fadeea9e72cb583d857851c87efcd4;hp=2e0be3783c886bedbf89b8cb5c29513991546ec1;hpb=6dd0b1517933b7efbc77fd7f16a2b6f6da477347;p=sbcl.git diff --git a/doc/manual/compiler.texinfo b/doc/manual/compiler.texinfo index 2e0be37..0c03d98 100644 --- a/doc/manual/compiler.texinfo +++ b/doc/manual/compiler.texinfo @@ -156,8 +156,8 @@ to the @code{sb-ext:compiler-note}, and is used for problems which are too mild for the standard condition classes, typically hints about how efficiency might be improved. The @code{sb-ext:code-deletion-note}, a subtype of @code{compiler-note}, is signalled when the compiler -deletes user-supplied code, usually after proving that the code in -question is unreachable. +deletes user-supplied code after proving that the code in question is +unreachable. Future work for SBCL includes expanding this hierarchy of types to allow more fine-grained control over emission of diagnostic messages. @@ -528,8 +528,9 @@ provides full type checks. Used when @code{(or (>= safety 2) (>= safety speed 1))}. @item Weak Type Checks -Declared types may be simplified into faster to check supertypes: for example, -@code{(and unsigned-byte fixnum)} is simplified into @code{fixnum}. +Declared types may be simplified into faster to check supertypes: for +example, @code{(or (integer -17 -7) (integer 7 17))} is simplified +into @code{(integer -17 17)}. @strong{Note}: it is relatively easy to corrupt the heap when weak type checks are used if the program contains type-errors.