summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreask <andreask>2013-05-13 16:59:34 (GMT)
committerandreask <andreask>2013-05-13 16:59:34 (GMT)
commit761c9d604a22ed4419646a0dc03711128a84197e (patch)
tree998112d745eb3b4962c727f0158b1cd898f12821
parent063786234ceebc2bce8266d802b513c1ef522421 (diff)
parent9ba818c1f1507764dbd0fa09116d3763085c471a (diff)
downloadtcl-761c9d604a22ed4419646a0dc03711128a84197e.zip
tcl-761c9d604a22ed4419646a0dc03711128a84197e.tar.gz
tcl-761c9d604a22ed4419646a0dc03711128a84197e.tar.bz2
Merged fix to bytecode engine problem. Details in merged revision.
-rw-r--r--generic/tclExecute.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index f994ba5..4294cd4 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -2331,8 +2331,9 @@ TEBCresume(
iPtr->cmdCount += TclGetUInt4AtPtr(pc+5);
if (checkInterp) {
checkInterp = 0;
- if ((codePtr->compileEpoch != iPtr->compileEpoch)
- || (codePtr->nsEpoch != iPtr->varFramePtr->nsPtr->resolverEpoch)) {
+ if (((codePtr->compileEpoch != iPtr->compileEpoch) ||
+ (codePtr->nsEpoch != iPtr->varFramePtr->nsPtr->resolverEpoch)) &&
+ !(codePtr->flags & TCL_BYTECODE_PRECOMPILED)) {
goto instStartCmdFailed;
}
}