summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmds.c
diff options
context:
space:
mode:
authormig <mig>2013-12-20 21:59:28 (GMT)
committermig <mig>2013-12-20 21:59:28 (GMT)
commitdb7ebfac4369ff2b956e1f5d7a8865e88d4ffc50 (patch)
tree369c1986c44ad9e1aca2cebf078fb10f90fc3b31 /generic/tclCompCmds.c
parent40ee4723305e14d61c083785f230b614b2829361 (diff)
downloadtcl-db7ebfac4369ff2b956e1f5d7a8865e88d4ffc50.zip
tcl-db7ebfac4369ff2b956e1f5d7a8865e88d4ffc50.tar.gz
tcl-db7ebfac4369ff2b956e1f5d7a8865e88d4ffc50.tar.bz2
remove INST_TRY_CVT_TO_NUMERIC when it is known not be necessary (cherrypick from mig-optimize)
Diffstat (limited to 'generic/tclCompCmds.c')
-rw-r--r--generic/tclCompCmds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c
index 72b338c..b7fc9b5 100644
--- a/generic/tclCompCmds.c
+++ b/generic/tclCompCmds.c
@@ -2276,6 +2276,7 @@ TclCompileForCmd(
SetLineInformation(2);
TclCompileExprWords(interp, testTokenPtr, 1, envPtr);
+ TclClearNumConversion(envPtr);
jumpDist = CurrentOffset(envPtr) - bodyCodeOffset;
if (jumpDist > 127) {