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