Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | change NULL to INT2PTR(0), for clarity |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
6cfea930ff5feaec97669bae0a8855d8 |
User & Date: | mig 2013-12-06 15:58:12 |
Context
2013-12-10
| ||
11:38 | new INST_LMAP_COLLECT, speeds up lmap and eliminates the need for a temp var check-in: 58ebb29700 user: mig tags: trunk | |
2013-12-07
| ||
12:14 | First steps to a rewriting-optimizer: emit all forward jumps as 4-jumps to have rewriting space. Th... check-in: b5d790a234 user: mig tags: mig-optimize | |
2013-12-06
| ||
20:15 | merge trunk check-in: c3515741fc user: dgp tags: dgp-refactor | |
15:58 | change NULL to INT2PTR(0), for clarity check-in: 6cfea930ff user: mig tags: trunk | |
14:29 | change NULL to INT2PTR(0), for clarity Closed-Leaf check-in: a3b06bc1de user: mig tags: mig-opt-foreach | |
10:17 | Oops, wrong macro. check-in: c2afe8e73a user: jan.nijtmans tags: trunk | |
Changes
Changes to generic/tclExecute.c.
︙ | ︙ | |||
6233 6234 6235 6236 6237 6238 6239 | * Store the iterNum and iterMax in a single Tcl_Obj; we keep a * nul-string obj with the pointer stored in the ptrValue so that the * thing is properly garbage collected. THIS OBJ MAKES NO SENSE, but * it will never leave this scope and is read-only. */ TclNewObj(tmpPtr); | | | 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 | * Store the iterNum and iterMax in a single Tcl_Obj; we keep a * nul-string obj with the pointer stored in the ptrValue so that the * thing is properly garbage collected. THIS OBJ MAKES NO SENSE, but * it will never leave this scope and is read-only. */ TclNewObj(tmpPtr); tmpPtr->internalRep.twoPtrValue.ptr1 = INT2PTR(0); tmpPtr->internalRep.twoPtrValue.ptr2 = INT2PTR(iterMax); PUSH_OBJECT(tmpPtr); /* iterCounts object */ /* * Store a pointer to the ForeachInfo struct; same dirty trick * as above */ |
︙ | ︙ |