diff options
author | dkf <dkf@noemail.net> | 2012-10-29 21:35:49 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2012-10-29 21:35:49 (GMT) |
commit | 0350e32f93cf711afdd1fc925e0cffe4c692f4cc (patch) | |
tree | 2f37ec079458d2dd670f4ac91e414deec83d160b /generic/tclAssembly.c | |
parent | cadbfaac471100d7c7afad1e1303ff9a39a32889 (diff) | |
download | tcl-0350e32f93cf711afdd1fc925e0cffe4c692f4cc.zip tcl-0350e32f93cf711afdd1fc925e0cffe4c692f4cc.tar.gz tcl-0350e32f93cf711afdd1fc925e0cffe4c692f4cc.tar.bz2 |
Added compilation of simplest practical case of [string map].
FossilOrigin-Name: b1a427318bd71aa3d1caf645c2d5daecd4f9ae8e
Diffstat (limited to 'generic/tclAssembly.c')
-rw-r--r-- | generic/tclAssembly.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/generic/tclAssembly.c b/generic/tclAssembly.c index 5ff96fd..10df71a 100644 --- a/generic/tclAssembly.c +++ b/generic/tclAssembly.c @@ -474,6 +474,7 @@ static const TalInstDesc TalInstructionTable[] = { {"streq", ASSEM_1BYTE, INST_STR_EQ, 2, 1}, {"strindex", ASSEM_1BYTE, INST_STR_INDEX, 2, 1}, {"strlen", ASSEM_1BYTE, INST_STR_LEN, 1, 1}, + {"strmap", ASSEM_1BYTE, INST_STR_MAP, 3, 1}, {"strmatch", ASSEM_BOOL, INST_STR_MATCH, 2, 1}, {"strneq", ASSEM_1BYTE, INST_STR_NEQ, 2, 1}, {"sub", ASSEM_1BYTE, INST_SUB, 2, 1}, @@ -507,10 +508,11 @@ static const unsigned char NonThrowingByteCodes[] = { INST_PUSH_RETURN_OPTIONS, /* 108 */ INST_REVERSE, /* 126 */ INST_NOP, /* 132 */ - INST_COROUTINE_NAME, /* 142 */ - INST_NS_CURRENT, /* 143 */ - INST_INFO_LEVEL_NUM, /* 144 */ - INST_RESOLVE_COMMAND /* 146 */ + INST_STR_MAP, /* 141 */ + INST_COROUTINE_NAME, /* 143 */ + INST_NS_CURRENT, /* 144 */ + INST_INFO_LEVEL_NUM, /* 145 */ + INST_RESOLVE_COMMAND /* 147 */ }; /* |