Repository navigation
Commit 388cdcd
committed
Batch 1 python#4: emitUnpackSequence PARTIAL→STUB
Per supervisor L2565 + theologian L2569 ACK. Reduces C++ stub from
~16 lines to 7 lines (qualifies as STUB).
Strategy: move jit_get_config()->specialized_opcodes gating from C++
stub into C body. C body now overrides specialized_op to -1 inline if
config disables specialized opcodes. C++ stub passes
bc_instr.specializedOpcode() unconditionally.
ZERO new bridges (jit_get_config() already accessible in C body —
multiple existing callers at line 423/431/1137).
Verification: cmake --build target jit/phoenix_jit clean (BUILD_EXIT=0).
Pure-C++ count unchanged (still 0); PARTIAL count drops 8→7.1 parent b962148 commit 388cdcd
2 files changed
Lines changed: 9 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4325 | 4325 | | |
4326 | 4326 | | |
4327 | 4327 | | |
4328 | | - | |
4329 | | - | |
4330 | | - | |
4331 | | - | |
4332 | | - | |
4333 | | - | |
4334 | 4328 | | |
4335 | | - | |
4336 | | - | |
4337 | | - | |
| 4329 | + | |
4338 | 4330 | | |
4339 | 4331 | | |
4340 | | - | |
| 4332 | + | |
4341 | 4333 | | |
4342 | 4334 | | |
4343 | 4335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2987 | 2987 | | |
2988 | 2988 | | |
2989 | 2989 | | |
2990 | | - | |
| 2990 | + | |
| 2991 | + | |
| 2992 | + | |
| 2993 | + | |
| 2994 | + | |
| 2995 | + | |
| 2996 | + | |
2991 | 2997 | | |
2992 | 2998 | | |
2993 | 2999 | | |
| |||
0 commit comments