diff options
author | dkf <dkf@noemail.net> | 2012-11-05 14:34:36 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2012-11-05 14:34:36 (GMT) |
commit | 2a26b1054e22c1cec6a31e616b11f0dcc0d89ec5 (patch) | |
tree | 72d036a8e1b318a022447f968b7a58b12d6e9598 /generic/tclAssembly.c | |
parent | 0b6b5f0e179bf2108e1e92cab49b9b17f06f121a (diff) | |
download | tcl-merge-to-trunk.zip tcl-merge-to-trunk.tar.gz tcl-merge-to-trunk.tar.bz2 |
Added compilation of [array exists], [array set] and [array unset]. Fixed a whole bunch of issues with opcode issuing that were causing problems with stack depth calculations.merge-to-trunk
FossilOrigin-Name: 7c610737366cd430fecbc3e511bb7c7a836d5b34
Diffstat (limited to 'generic/tclAssembly.c')
-rw-r--r-- | generic/tclAssembly.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclAssembly.c b/generic/tclAssembly.c index 3b02ca2..7833105 100644 --- a/generic/tclAssembly.c +++ b/generic/tclAssembly.c @@ -362,6 +362,10 @@ static const TalInstDesc TalInstructionTable[] = { | INST_APPEND_ARRAY4), 2, 1}, {"appendArrayStk", ASSEM_1BYTE, INST_APPEND_ARRAY_STK, 3, 1}, {"appendStk", ASSEM_1BYTE, INST_APPEND_STK, 2, 1}, + {"arrayExistsImm", ASSEM_LVT4, INST_ARRAY_EXISTS_IMM, 0, 1}, + {"arrayExistsStk", ASSEM_1BYTE, INST_ARRAY_EXISTS_STK, 1, 1}, + {"arrayMakeImm", ASSEM_LVT4, INST_ARRAY_MAKE_IMM, 0, 0}, + {"arrayMakeStk", ASSEM_1BYTE, INST_ARRAY_MAKE_STK, 1, 0}, {"beginCatch", ASSEM_BEGIN_CATCH, INST_BEGIN_CATCH4, 0, 0}, {"bitand", ASSEM_1BYTE, INST_BITAND, 2, 1}, |