summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 09fda64..13f328c 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -5076,7 +5076,7 @@ TEBCresume(
if (toIdx == TCL_INDEX_NONE) {
emptyList:
- objResultPtr = Tcl_NewObj();
+ TclNewObj(objResultPtr);
TRACE_APPEND(("\"%.30s\"", O2S(objResultPtr)));
NEXT_INST_F(9, 1, 1);
}
@@ -5336,7 +5336,7 @@ TEBCresume(
* practical use.
*/
if (ch == -1) {
- objResultPtr = Tcl_NewObj();
+ TclNewObj(objResultPtr);
} else {
length = Tcl_UniCharToUtf(ch, buf);
if ((ch >= 0xD800) && (length < 3)) {
@@ -7046,7 +7046,7 @@ TEBCresume(
break;
}
if (valuePtr == NULL) {
- Tcl_DictObjPut(NULL, dictPtr, OBJ_AT_TOS,Tcl_NewIntObj(opnd));
+ Tcl_DictObjPut(NULL, dictPtr, OBJ_AT_TOS, Tcl_NewWideIntObj(opnd));
} else {
TclNewIntObj(value2Ptr, opnd);
Tcl_IncrRefCount(value2Ptr);
@@ -9719,7 +9719,7 @@ EvalStatsCmd(
#define Percent(a,b) ((a) * 100.0 / (b))
- objPtr = Tcl_NewObj();
+ TclNewObj(objPtr);
Tcl_IncrRefCount(objPtr);
numInstructions = 0.0;