summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.h
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-11-01 18:06:09 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-11-01 18:06:09 (GMT)
commita7dc229d16889c9f6f66d197d4e0bf1afbec5578 (patch)
tree73c6e63a58a37fcfd2efd533ae233d19a6aa0f0b /generic/tclCompile.h
parent08ba0e902fe194be25319468633409bc90daaf87 (diff)
downloadtcl-a7dc229d16889c9f6f66d197d4e0bf1afbec5578.zip
tcl-a7dc229d16889c9f6f66d197d4e0bf1afbec5578.tar.gz
tcl-a7dc229d16889c9f6f66d197d4e0bf1afbec5578.tar.bz2
Added compilation of [tailcall]. Not a particularly efficient compilation though; it does not detect tailcall-of-self as a special case.
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r--generic/tclCompile.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h
index 85d282f..08d59fd 100644
--- a/generic/tclCompile.h
+++ b/generic/tclCompile.h
@@ -688,19 +688,20 @@ typedef struct ByteCode {
#define INST_STR_FIND 144
#define INST_STR_RANGE_IMM 145
-/* For operations to do with coroutines */
+/* For operations to do with coroutines and other NRE-manipulators */
#define INST_YIELD 146
#define INST_COROUTINE_NAME 147
+#define INST_TAILCALL 148
/* For compilation of basic information operations */
-#define INST_NS_CURRENT 148
-#define INST_INFO_LEVEL_NUM 149
-#define INST_INFO_LEVEL_ARGS 150
-#define INST_RESOLVE_COMMAND 151
-#define INST_TCLOO_SELF 152
+#define INST_NS_CURRENT 149
+#define INST_INFO_LEVEL_NUM 150
+#define INST_INFO_LEVEL_ARGS 151
+#define INST_RESOLVE_COMMAND 152
+#define INST_TCLOO_SELF 153
/* The last opcode */
-#define LAST_INST_OPCODE 152
+#define LAST_INST_OPCODE 153
/*
* Table describing the Tcl bytecode instructions: their name (for displaying