summaryrefslogtreecommitdiff
path: root/benchmark-suite
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-11-23 12:40:33 +0100
committerAndy Wingo <wingo@pobox.com>2011-11-23 12:54:09 +0100
commit9447207f0c9a52d48b2de20b444405dfdd43d465 (patch)
tree162696fc2bffb4991ef4139b89cd1d90c12bf38d /benchmark-suite
parentc81c2ad3a59fdfb54260af2c159fac56de4daf3a (diff)
downloadguile-9447207f0c9a52d48b2de20b444405dfdd43d465.tar.gz
Use default value for make-fluid in Scheme files
* module/ice-9/boot-9.scm (%exception-handler) (%running-exception-handlers, read-eval?, *repl-stack*) (make-mutable-parameter): * module/ice-9/getopt-long.scm (%program-name): * module/language/elisp/runtime.scm (built-in-macro, defspecial): * module/srfi/srfi-39.scm (make-parameter/helper): * module/system/base/language.scm (*current-language*): * module/system/base/message.scm (*current-warning-port*): (*current-warning-prefix*): * module/system/base/target.scm (%target-type, %target-endianness) (%target-word-size): * module/texinfo/plain-text.scm (*indent*, *itemizer*): * benchmark-suite/lib.scm (prefix-fluid): * test-suite/lib.scm (prefix-fluid): Give fluids a useful default value.
Diffstat (limited to 'benchmark-suite')
-rw-r--r--benchmark-suite/lib.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/benchmark-suite/lib.scm b/benchmark-suite/lib.scm
index a6feed818..4ba0e3e1c 100644
--- a/benchmark-suite/lib.scm
+++ b/benchmark-suite/lib.scm
@@ -1,5 +1,5 @@
;;;; benchmark-suite/lib.scm --- generic support for benchmarking
-;;;; Copyright (C) 2002, 2006 Free Software Foundation, Inc.
+;;;; Copyright (C) 2002, 2006, 2011 Free Software Foundation, Inc.
;;;;
;;;; This program is free software; you can redistribute it and/or
;;;; modify it under the terms of the GNU Lesser General Public
@@ -348,8 +348,7 @@
(append (current-benchmark-prefix) (list name)))
;;; A fluid containing the current benchmark prefix, as a list.
-(define prefix-fluid (make-fluid))
-(fluid-set! prefix-fluid '())
+(define prefix-fluid (make-fluid '()))
(define (current-benchmark-prefix)
(fluid-ref prefix-fluid))