mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-28 16:00:22 +02:00
disable optimizations in goops dispatch procedures
* module/oop/goops/dispatch.scm: Disable peval and cse.
This commit is contained in:
parent
9068f4f527
commit
f7d8efc630
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
;;;; Copyright (C) 1999, 2000, 2001, 2003, 2006, 2009 Free Software Foundation, Inc.
|
;;;; Copyright (C) 1999, 2000, 2001, 2003, 2006, 2009, 2012 Free Software Foundation, Inc.
|
||||||
;;;;
|
;;;;
|
||||||
;;;; This library is free software; you can redistribute it and/or
|
;;;; This library is free software; you can redistribute it and/or
|
||||||
;;;; modify it under the terms of the GNU Lesser General Public
|
;;;; modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -178,7 +178,9 @@
|
||||||
'())
|
'())
|
||||||
(acons gf gf-sym '()))))
|
(acons gf gf-sym '()))))
|
||||||
(define (comp exp vals)
|
(define (comp exp vals)
|
||||||
(let ((p ((@ (system base compile) compile) exp #:env *dispatch-module*)))
|
(let ((p ((@ (system base compile) compile) exp
|
||||||
|
#:env *dispatch-module*
|
||||||
|
#:opts '(#:partial-eval? #f #:cse? #f))))
|
||||||
(apply p vals)))
|
(apply p vals)))
|
||||||
|
|
||||||
;; kick it.
|
;; kick it.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue