~ chicken-core (chicken-5) 92047d863677b203d7570d0e8e60554b8deab6a7


commit 92047d863677b203d7570d0e8e60554b8deab6a7
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Sat Nov 20 16:13:52 2010 +0100
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Sat Nov 20 16:15:07 2010 +0100

    fixed bug in ##sys#halt (thanks to Jeronimo Pellegrini)

diff --git a/library.scm b/library.scm
index 764c6fc0..3553bf54 100644
--- a/library.scm
+++ b/library.scm
@@ -213,7 +213,7 @@ EOF
 (define (##sys#void . _) (##core#undefined))
 (define void ##sys#void)
 (define ##sys#undefined-value (##core#undefined))
-(define (##sys#halt) (##core#inline "C_halt" #f))
+(define (##sys#halt msg) (##core#inline "C_halt" msg))
 (define (##sys#flo2fix n) (##core#inline "C_quickflonumtruncate" n))
 (define ##sys#become! (##core#primitive "C_become"))
 (define (##sys#block-ref x i) (##core#inline "C_i_block_ref" x i))
diff --git a/manual/Using the compiler b/manual/Using the compiler
index 8609467f..659e2b83 100644
--- a/manual/Using the compiler	
+++ b/manual/Using the compiler	
@@ -122,7 +122,7 @@ the source text should be read from standard input.
 
 ; -lambda-lift : Enable the optimization known as lambda-lifting.
 
-; -local : Assume toplevel variables defined in the current compilation unit are not externally modified.
+; -local : Assume toplevel variables defined in the current compilation unit are not externally modified. This gives the compiler more opportunities for inlining.
 
 ; -no-argc-checks : disable argument count checks
 
Trap