summaryrefslogtreecommitdiffstats
path: root/generic/tclAssembly.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-09-08 03:29:09 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-09-08 03:29:09 (GMT)
commit227c81511f43db391f21e9b7e7901219dfee00b7 (patch)
treee815efa8acc0da957800726b75db7c03ed46595e /generic/tclAssembly.c
parentbc8b826f652758b1623dc95c2f9c175c181c8a1e (diff)
parent3da8f74e759e03013e397849f1d550754f6bf059 (diff)
downloadtcl-227c81511f43db391f21e9b7e7901219dfee00b7.zip
tcl-227c81511f43db391f21e9b7e7901219dfee00b7.tar.gz
tcl-227c81511f43db391f21e9b7e7901219dfee00b7.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclAssembly.c')
-rw-r--r--generic/tclAssembly.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclAssembly.c b/generic/tclAssembly.c
index 1529198..d20e995 100644
--- a/generic/tclAssembly.c
+++ b/generic/tclAssembly.c
@@ -1301,7 +1301,7 @@ AssembleOneLine(
goto cleanup;
}
operand1 = TclGetStringFromObj(operand1Obj, &operand1Len);
- litIndex = TclRegisterNewLiteral(envPtr, operand1, operand1Len);
+ litIndex = TclRegisterLiteral(envPtr, operand1, operand1Len, 0);
BBEmitInst1or4(assemEnvPtr, tblIdx, litIndex, 0);
break;
@@ -1450,7 +1450,7 @@ AssembleOneLine(
goto cleanup;
} else {
operand1 = TclGetStringFromObj(operand1Obj, &operand1Len);
- litIndex = TclRegisterNewLiteral(envPtr, operand1, operand1Len);
+ litIndex = TclRegisterLiteral(envPtr, operand1, operand1Len, 0);
/*
* Assumes that PUSH is the first slot!
@@ -3542,7 +3542,7 @@ StackCheckExit(
* Emit a 'push' of the empty literal.
*/
- litIndex = TclRegisterNewLiteral(envPtr, "", 0);
+ litIndex = TclRegisterLiteral(envPtr, "", 0, 0);
/*
* Assumes that 'push' is at slot 0 in TalInstructionTable.