Differences From Artifact [9faa2d549f]:
- File generic/tclOOMethod.c — part of check-in [1c9802632e] at 2016-07-06 15:50:34 on branch core-8-6-branch — Simplify all the Tcl_NRPostProc declarations. (user: dgp size: 52038) [more...]
To Artifact [cf4aa201e8]:
- File generic/tclOOMethod.c — part of check-in [0aa4803add] at 2017-10-24 14:11:16 on branch core-8-6-branch — Cherrypick: [fc1409fc91] Method cloning needs to be careful with body representations. (user: dkf size: 52066) [more...]
| ︙ | |||
1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 | 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 | + |
/*
* Must strip the internal representation in order to ensure that any
* bound references to instance variables are removed. [Bug 3609693]
*/
bodyObj = Tcl_DuplicateObj(pmPtr->procPtr->bodyPtr);
Tcl_GetString(bodyObj);
TclFreeIntRep(bodyObj);
/*
* Create the actual copy of the method record, manufacturing a new proc
* record.
*/
|
| ︙ |