From: Chris Hanson Date: Thu, 5 Apr 2007 17:36:19 +0000 (+0000) Subject: Tweak defaults to enable type and range checking by default. X-Git-Tag: 20090517-FFI~689 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=e032bb8adbe902d12024d37a59f402fb248c4f56;p=mit-scheme.git Tweak defaults to enable type and range checking by default. --- diff --git a/v7/src/compiler/base/switch.scm b/v7/src/compiler/base/switch.scm index 8eca093dc..a6257288b 100644 --- a/v7/src/compiler/base/switch.scm +++ b/v7/src/compiler/base/switch.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: switch.scm,v 4.31 2007/01/05 21:19:20 cph Exp $ +$Id: switch.scm,v 4.32 2007/04/05 17:36:19 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -50,12 +50,12 @@ USA. (define compiler:generate-rtl-files? #f) (define compiler:generate-lap-files? #f) (define compiler:intersperse-rtl-in-lap? #t) -(define compiler:generate-range-checks? #f) -(define compiler:generate-type-checks? #f) +(define compiler:generate-range-checks? #t) +(define compiler:generate-type-checks? #t) (define compiler:generate-stack-checks? #t) (define compiler:open-code-flonum-checks? #f) (define compiler:use-multiclosures? #f) -(define compiler:coalescing-constant-warnings? #t) +(define compiler:coalescing-constant-warnings? #f) (define compiler:cross-compiling? #f) ;; This only works in the C back end, right now (define compiler:compress-top-level? #f)