Diff
Not logged in

Differences From Artifact [ae9ab6128c]:

To Artifact [a43e2179a1]:


1120
1121
1122
1123
1124
1125
1126










1127
1128
1129
1130
1131
1132
1133
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143







+
+
+
+
+
+
+
+
+
+







	    (TCL_TRACE_RENAME | TCL_TRACE_DELETE | TCL_TRACE_ANY_EXEC);
    tracePtr->nextPtr = cmdPtr->tracePtr;
    tracePtr->refCount = 1;
    cmdPtr->tracePtr = tracePtr;
    if (tracePtr->flags & TCL_TRACE_ANY_EXEC) {
	cmdPtr->flags |= CMD_HAS_EXEC_TRACES;
    }

    /*
     * Bug 3484621: up the interp's epoch if this is a BC'ed command
     */

    if (cmdPtr->compileProc != NULL) {
	Interp *iPtr = (Interp *) interp;
	iPtr->compileEpoch++;
    }
    
    return TCL_OK;
}

/*
 *----------------------------------------------------------------------
 *
 * Tcl_UntraceCommand --
1222
1223
1224
1225
1226
1227
1228









1229
1230
1231
1232
1233
1234
1235
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254







+
+
+
+
+
+
+
+
+








	/*
	 * None of the remaining traces on this command are execution traces.
	 * We therefore remove this flag:
	 */

	cmdPtr->flags &= ~CMD_HAS_EXEC_TRACES;

        /*
	 * Bug 3484621: up the interp's epoch if this is a BC'ed command
	 */
	
	if (cmdPtr->compileProc != NULL) {
	    Interp *iPtr = (Interp *) interp;
	    iPtr->compileEpoch++;
	}
    }
}

/*
 *----------------------------------------------------------------------
 *
 * TraceCommandProc --