diff options
author | Ludovic Courtes <ludovic.courtes@laas.fr> | 2005-06-25 06:57:20 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-04-25 19:09:30 +0200 |
commit | a52b2d3d5547564c10cfce9ae9993ee0a9ae698e (patch) | |
tree | 627a219a1f1d8d501113ec389a311bd67a47a053 /src/vm_system.c | |
parent | 0b5f0e49a8b172544e2a7cb564c01c2ec439aaec (diff) | |
download | guile-a52b2d3d5547564c10cfce9ae9993ee0a9ae698e.tar.gz |
Started documenting the compiler.
* doc/guile-vm.texi: Documented the compiler (node `The Compiler').
Removed a number of things that might have been relevant to Guile-VM 0.0.
* module/system/il/compile.scm (optimize): Commented out the case
using `<ghil-inst?>'.
* src/vm_engine.c (vm_run)[objects_handle]: New variable.
Before leaving the function, release OBJECTS_HANDLE.
* src/vm_engine.h (CACHE_PROGRAM): Use `scm_vector_writable_elements'
instead of `scm_vector_elements'; don't release the handle right away.
* src/vm_loader.c (load-program): New commented out piece of code
dealing with simple vectors.
* src/vm_system.c (object-ref): Added the type of OBJNUM.
git-archimport-id: lcourtes@laas.fr--2005-mobile/guile-vm--mobile--0.6--patch-3
Diffstat (limited to 'src/vm_system.c')
-rw-r--r-- | src/vm_system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm_system.c b/src/vm_system.c index 5eb125b88..e220b613c 100644 --- a/src/vm_system.c +++ b/src/vm_system.c @@ -208,7 +208,7 @@ VM_DEFINE_INSTRUCTION (list_break, "list-break", 0, 0, 0) VM_DEFINE_INSTRUCTION (object_ref, "object-ref", 1, 0, 1) { - register objnum = FETCH (); + register unsigned objnum = FETCH (); CHECK_OBJECT (objnum); PUSH (OBJECT_REF (objnum)); NEXT; |