Overview
| Artifact ID: | 01c4a060da8b07fa43f775ffc8d84397ed0aee7f65342a9536907a100fd31ba8 |
|---|---|
| Ticket: | db36fa5122259be74d0ccadd102e076094703052
compiled lindex botches index artihmetic |
| User & Date: | dgp on 2018-03-06 15:49:00 |
Changes
- icomment:
Tcl 8.6 also added an assembler and provides in it access to the INST_LIST_INDEX_IMM instruction. It botches index compiling in the same way -- misusing TclGetIntForIndex(), like so: % tcl::unsupported::assemble { push {a b c}; listIndexImm end+2 } a % tcl::unsupported::assemble { push {a b c}; listIndexImm -1-1 } c The other index-value-using instructions are not in the instruction set of the assembler. I guess it lags. - login: "dgp"
- mimetype: "text/plain"