diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-11-05 14:34:36 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-11-05 14:34:36 (GMT) |
commit | cd1f27f0cf22ec6b5b83f2fd48c1ba93e5c27be2 (patch) | |
tree | 72d036a8e1b318a022447f968b7a58b12d6e9598 /generic/tclAssembly.c | |
parent | 259635cd9b7b5e6be9e1bc44a5d2a7d3a2536743 (diff) | |
download | tcl-cd1f27f0cf22ec6b5b83f2fd48c1ba93e5c27be2.zip tcl-cd1f27f0cf22ec6b5b83f2fd48c1ba93e5c27be2.tar.gz tcl-cd1f27f0cf22ec6b5b83f2fd48c1ba93e5c27be2.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
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}, |