summaryrefslogtreecommitdiffstats
path: root/generic/tclAssembly.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-12-30 08:16:21 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-12-30 08:16:21 (GMT)
commitcdacc33cbbaa19a6840b6de4549153bf33da94e4 (patch)
treeb448cdd2a7084aaeebfaf78deb6929d5798ab887 /generic/tclAssembly.c
parentf7157671ce93dc1c2a80987e4ebc037cac1b9513 (diff)
downloadtcl-cdacc33cbbaa19a6840b6de4549153bf33da94e4.zip
tcl-cdacc33cbbaa19a6840b6de4549153bf33da94e4.tar.gz
tcl-cdacc33cbbaa19a6840b6de4549153bf33da94e4.tar.bz2
allow generation by assembler
Diffstat (limited to 'generic/tclAssembly.c')
-rw-r--r--generic/tclAssembly.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/tclAssembly.c b/generic/tclAssembly.c
index cd0a42d..b7bd1cd 100644
--- a/generic/tclAssembly.c
+++ b/generic/tclAssembly.c
@@ -453,9 +453,9 @@ static const TalInstDesc TalInstructionTable[] = {
| INST_STORE_ARRAY4), 2, 1},
{"storeArrayStk", ASSEM_1BYTE, INST_STORE_ARRAY_STK, 3, 1},
{"storeStk", ASSEM_1BYTE, INST_STORE_STK, 2, 1},
- {"strLower", ASSEM_1BYTE, INST_STR_LOWER, 1, 1},
- {"strTitle", ASSEM_1BYTE, INST_STR_TITLE, 1, 1},
- {"strUpper", ASSEM_1BYTE, INST_STR_UPPER, 1, 1},
+ {"strcaseLower", ASSEM_1BYTE, INST_STR_LOWER, 1, 1},
+ {"strcaseTitle", ASSEM_1BYTE, INST_STR_TITLE, 1, 1},
+ {"strcaseUpper", ASSEM_1BYTE, INST_STR_UPPER, 1, 1},
{"strcmp", ASSEM_1BYTE, INST_STR_CMP, 2, 1},
{"strcat", ASSEM_CONCAT1, INST_STR_CONCAT1, INT_MIN,1},
{"streq", ASSEM_1BYTE, INST_STR_EQ, 2, 1},
@@ -466,6 +466,7 @@ static const TalInstDesc TalInstructionTable[] = {
{"strmatch", ASSEM_BOOL, INST_STR_MATCH, 2, 1},
{"strneq", ASSEM_1BYTE, INST_STR_NEQ, 2, 1},
{"strrange", ASSEM_1BYTE, INST_STR_RANGE, 3, 1},
+ {"strreplace", ASSEM_1BYTE, INST_STR_REPLACE, 4, 1},
{"strrfind", ASSEM_1BYTE, INST_STR_FIND_LAST, 2, 1},
{"strtrim", ASSEM_1BYTE, INST_STR_TRIM, 2, 1},
{"strtrimLeft", ASSEM_1BYTE, INST_STR_TRIM_LEFT, 2, 1},