diff options
author | Andy Wingo <wingo@pobox.com> | 2014-02-02 23:19:22 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2014-02-02 23:19:22 +0100 |
commit | b3ae2b5068cbfcb6e9eec7ff96cd936f1c861396 (patch) | |
tree | 7335f265d952a8cc8f148b2305c3770c3dd00da8 /libguile/_scm.h | |
parent | 0320b1fc3f22e4edda5f79e949e5fccda49b8680 (diff) |
Add VM and compiler support for calls to known procedures
* module/language/cps.scm ($callk): New expression type, for calls to
known labels. Part of "low CPS".
* module/language/cps/arities.scm:
* module/language/cps/closure-conversion.scm:
* module/language/cps/compile-bytecode.scm:
* module/language/cps/dce.scm:
* module/language/cps/dfg.scm:
* module/language/cps/effects-analysis.scm:
* module/language/cps/simplify.scm:
* module/language/cps/slot-allocation.scm:
* module/language/cps/verify.scm: Adapt call sites.
* libguile/vm-engine.c (call-label, tail-call-label): New instructions.
Renumber the rest; this is an ABI change.
* libguile/_scm.h (SCM_OBJCODE_MINOR_VERSION):
* module/system/vm/assembler.scm (*bytecode-minor-version*): Bump.
* doc/ref/compiler.texi (CPS in Guile): Document $callk.
Diffstat (limited to 'libguile/_scm.h')
-rw-r--r-- | libguile/_scm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/_scm.h b/libguile/_scm.h index 429861233..003c36d62 100644 --- a/libguile/_scm.h +++ b/libguile/_scm.h @@ -4,7 +4,7 @@ #define SCM__SCM_H /* Copyright (C) 1995, 1996, 2000, 2001, 2002, 2006, 2008, 2009, 2010, - * 2011, 2013 Free Software Foundation, Inc. + * 2011, 2013, 2014 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License @@ -268,7 +268,7 @@ void scm_ia64_longjmp (scm_i_jmp_buf *, int); /* Major and minor versions must be single characters. */ #define SCM_OBJCODE_MAJOR_VERSION 3 -#define SCM_OBJCODE_MINOR_VERSION 3 +#define SCM_OBJCODE_MINOR_VERSION 4 #define SCM_OBJCODE_MAJOR_VERSION_STRING \ SCM_CPP_STRINGIFY(SCM_OBJCODE_MAJOR_VERSION) #define SCM_OBJCODE_MINOR_VERSION_STRING \ |