summaryrefslogtreecommitdiffstats
path: root/generic/tclAssembly.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-09-30 03:00:06 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-09-30 03:00:06 (GMT)
commit11fdcc3fedcd680e93a93d28bf862d388ada3f9d (patch)
tree3137d2b83c6acf8dbe087cfe4337fd40a986670a /generic/tclAssembly.c
parent77befed765bd876b11882607e8bdf4eb976df127 (diff)
downloadtcl-11fdcc3fedcd680e93a93d28bf862d388ada3f9d.zip
tcl-11fdcc3fedcd680e93a93d28bf862d388ada3f9d.tar.gz
tcl-11fdcc3fedcd680e93a93d28bf862d388ada3f9d.tar.bz2
First attempt at [string trim] compilation.
Diffstat (limited to 'generic/tclAssembly.c')
-rw-r--r--generic/tclAssembly.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tclAssembly.c b/generic/tclAssembly.c
index 946c729..659f483 100644
--- a/generic/tclAssembly.c
+++ b/generic/tclAssembly.c
@@ -462,6 +462,8 @@ static const TalInstDesc TalInstructionTable[] = {
{"strneq", ASSEM_1BYTE, INST_STR_NEQ, 2, 1},
{"strrange", ASSEM_1BYTE, INST_STR_RANGE, 3, 1},
{"strrfind", ASSEM_1BYTE, INST_STR_FIND_LAST, 2, 1},
+ {"strtrimLeft", ASSEM_1BYTE, INST_STRTRIM_LEFT, 2, 1},
+ {"strtrimRight", ASSEM_1BYTE, INST_STRTRIM_RIGHT, 2, 1},
{"sub", ASSEM_1BYTE, INST_SUB, 2, 1},
{"tclooClass", ASSEM_1BYTE, INST_TCLOO_CLASS, 1, 1},
{"tclooIsObject", ASSEM_1BYTE, INST_TCLOO_IS_OBJECT, 1, 1},
@@ -502,7 +504,8 @@ static const unsigned char NonThrowingByteCodes[] = {
INST_COROUTINE_NAME, /* 149 */
INST_NS_CURRENT, /* 151 */
INST_INFO_LEVEL_NUM, /* 152 */
- INST_RESOLVE_COMMAND /* 154 */
+ INST_RESOLVE_COMMAND, /* 154 */
+ INST_STRTRIM_LEFT, INST_STRTRIM_RIGHT /* 166,167 */
};
/*