summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-12-23 18:32:17 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-12-23 18:32:17 (GMT)
commitc3ba85a17b5051093a6ed4290f7b8f3e424be236 (patch)
tree6282fcbeda8091900bc7600acae7bdba8824a3d1 /generic/tclInt.h
parent959c0b7ee6f676289f4bcb26638947b88e7d576b (diff)
parent3b06f70775be10c7547c05c27e55d4ef0a65ee0c (diff)
downloadtcl-c3ba85a17b5051093a6ed4290f7b8f3e424be236.zip
tcl-c3ba85a17b5051093a6ed4290f7b8f3e424be236.tar.gz
tcl-c3ba85a17b5051093a6ed4290f7b8f3e424be236.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index ad17415..1ad32df 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -1809,7 +1809,14 @@ typedef struct Interp {
ClientData interpInfo; /* Information used by tclInterp.c to keep
* track of master/slave interps on a
* per-interp basis. */
- Tcl_HashTable unused2; /* No longer used (was mathFuncTable) */
+ union {
+ void (*optimizer)(void *envPtr);
+ Tcl_HashTable unused2; /* No longer used (was mathFuncTable). The
+ * unused space in interp was repurposed for
+ * pluggable bytecode optimizers. The core
+ * contains one optimizer, which can be
+ * selectively overriden by extensions. */
+ } extra;
/*
* Information related to procedures and variables. See tclProc.c and