Commit 6211d3c
committed
Add vOrigins propagation to Dup functions found by static analysis
Static analysis found 6 Gia_Man_t* Dup functions reachable from the
abc9 pipeline that create new GIAs without propagating vOrigins:
- Gia_ManDupFromBarBufs (giaScript.c) - used by &synch2 with boxes
- Gia_ManDupToBarBufs (giaScript.c) - used by &synch2 with boxes
- Gia_ManDupUnshuffleInputs (giaTim.c) - timing CI reordering
- Gia_ManDupMoveLast (giaTim.c) - timing CI manipulation
- Gia_ManDupHashMapping (giaIf.c) - &if hash mapping mode
- Gia_ManDupUnhashMapping (giaIf.c) - &if unhash mapping mode
All use the Value field for old->new object mapping, so the standard
Gia_ManOriginsDup call propagates origins correctly.
Co-developed-by: Claude Code v2.1.58 (claude-opus-4-6)1 parent 8ccd01a commit 6211d3c
3 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3300 | 3300 | | |
3301 | 3301 | | |
3302 | 3302 | | |
| 3303 | + | |
3303 | 3304 | | |
3304 | 3305 | | |
3305 | 3306 | | |
| |||
3379 | 3380 | | |
3380 | 3381 | | |
3381 | 3382 | | |
| 3383 | + | |
3382 | 3384 | | |
3383 | 3385 | | |
3384 | 3386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| 318 | + | |
318 | 319 | | |
319 | 320 | | |
320 | 321 | | |
| |||
357 | 358 | | |
358 | 359 | | |
359 | 360 | | |
| 361 | + | |
360 | 362 | | |
361 | 363 | | |
362 | 364 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
244 | 245 | | |
245 | 246 | | |
246 | 247 | | |
| |||
779 | 780 | | |
780 | 781 | | |
781 | 782 | | |
| 783 | + | |
782 | 784 | | |
783 | 785 | | |
784 | 786 | | |
| |||
0 commit comments