guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about your profiling patch...


From: Neil Jerram
Subject: Re: Question about your profiling patch...
Date: 08 Apr 2001 10:36:53 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5

>>>>> "Keisuke" == Keisuke Nishida <address@hidden> writes:

    Keisuke> This is a very old version.  Could you try with the
    Keisuke> latest version from CVS?

    Keisuke> Anyway, I'll try to release the next snapshot (0.4) soon.

With latest CVS, and following through the example session in the
README, I have more success, but fail with `(add 1 2)'.

Note also that guile-vm exits completely if I type `,x +'.

Best regards,
        Neil


address@hidden neil]$ guile-vm 
;;; Autoloading of compiled code modules is deprecated.
;;; Write a Scheme file instead that uses `dynamic-link' directly.
;;; (You just tried to autoload module (oop goops goopscore).)
Guile Scheme interpreter 0.4 on Guile 1.4.1
Copyright (C) 2001 Free Software Foundation, Inc.

Enter `,help' for help.
address@hidden> (+ 1 2)
$1 = 3
address@hidden> ,c -c (+ 1 2)
(@asm (0 0 0 0)
  (const 1)
  (const 2)
  (add 2)
  (return 0))
address@hidden> ,c (+ 1 2)
Disassembly of bootcode:

Compiled for Guile VM 0.4

nlocs = 0  nexts = 0

   0    make-int8:1                     ;; 1
   1    make-int8 2                     ;; 2
   3    add
   4    return

address@hidden> (add 1 2)
ERROR: Unbound variable: add
address@hidden> add
ERROR: Unbound variable: add
address@hidden> +
$2 = #<primitive-procedure +>
address@hidden> ,x +
<unnamed port>: In procedure program-arity in expression (program-arity prog):
<unnamed port>: Wrong type argument in position 1 (expecting PROGRAM_P): 
#<primitive-procedure +>
address@hidden neil]$ 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]