summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.h
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-05-30 10:55:39 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-05-30 10:55:39 (GMT)
commit8430c2dada2e781cff07e2534fb7fbd11dcf1958 (patch)
tree1f1e0ce12bef2b45431f5437e9678245d7fa121e /generic/tclCompile.h
parentf85fd4d0e85bc96fdb38e4d2ea70ea05da1c0530 (diff)
downloadtcl-8430c2dada2e781cff07e2534fb7fbd11dcf1958.zip
tcl-8430c2dada2e781cff07e2534fb7fbd11dcf1958.tar.gz
tcl-8430c2dada2e781cff07e2534fb7fbd11dcf1958.tar.bz2
Working towards the next batch of optimizations.
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r--generic/tclCompile.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h
index 0be5d1d..c380823 100644
--- a/generic/tclCompile.h
+++ b/generic/tclCompile.h
@@ -275,6 +275,9 @@ typedef struct CompileEnv {
* entry. */
int mallocedExceptArray; /* 1 if ExceptionRange array was expanded and
* exceptArrayPtr points in heap, else 0. */
+ int *exnStackDepthArrayPtr; /* Array of stack depths to restore to when
+ * processing BREAK/CONTINUE exceptions. Must
+ * be the same size as the exceptArrayPtr. */
CmdLocation *cmdMapPtr; /* Points to start of CmdLocation array.
* numCommands is the index of the next entry
* to use; (numCommands-1) is the entry index
@@ -296,6 +299,9 @@ typedef struct CompileEnv {
/* Initial storage of LiteralEntry array. */
ExceptionRange staticExceptArraySpace[COMPILEENV_INIT_EXCEPT_RANGES];
/* Initial ExceptionRange array storage. */
+ int staticExnStackDepthArraySpace[COMPILEENV_INIT_EXCEPT_RANGES];
+ /* Initial static except stack depth array
+ * storage. */
CmdLocation staticCmdMapSpace[COMPILEENV_INIT_CMD_MAP_SIZE];
/* Initial storage for cmd location map. */
AuxData staticAuxDataArraySpace[COMPILEENV_INIT_AUX_DATA_SIZE];