Repository navigation
Commit b962148
committed
Batch 1 python#3: emitInvokeMethodVectorCall PARTIAL→STUB
Per supervisor L2565 + theologian L2569 ACK. Reduces C++ stub from
~13 lines to 8 lines (qualifies as STUB).
Strategy: change bridge convention from caller-allocates-out to
callee-allocates-out. C body of bridge now allocates 'out' internally
via hir_builder_temps_alloc_stack. Both call sites (C++ stub at
builder.cpp + C-body call from emit_any_call_c) updated to drop
the explicit out alloc.
Bridge sig change: void *out param removed (was 4th arg). Falsification
discipline: change is mechanically validated by build (callers updated
in same commit) — no signature drift surface beyond the tightening.
Verification: cmake --build target jit/phoenix_jit clean (BUILD_EXIT=0).
Pure-C++ count unchanged (still 0); PARTIAL count drops 9→8.1 parent 4f2b39d commit b962148
2 files changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3367 | 3367 | | |
3368 | 3368 | | |
3369 | 3369 | | |
3370 | | - | |
| 3370 | + | |
3371 | 3371 | | |
3372 | 3372 | | |
3373 | 3373 | | |
| |||
3376 | 3376 | | |
3377 | 3377 | | |
3378 | 3378 | | |
3379 | | - | |
3380 | 3379 | | |
3381 | | - | |
3382 | | - | |
3383 | | - | |
| 3380 | + | |
3384 | 3381 | | |
3385 | 3382 | | |
3386 | 3383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2394 | 2394 | | |
2395 | 2395 | | |
2396 | 2396 | | |
2397 | | - | |
2398 | 2397 | | |
2399 | 2398 | | |
2400 | 2399 | | |
2401 | 2400 | | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
2402 | 2404 | | |
2403 | 2405 | | |
2404 | 2406 | | |
| |||
2599 | 2601 | | |
2600 | 2602 | | |
2601 | 2603 | | |
2602 | | - | |
2603 | | - | |
| 2604 | + | |
2604 | 2605 | | |
2605 | | - | |
| 2606 | + | |
2606 | 2607 | | |
2607 | 2608 | | |
2608 | 2609 | | |
| |||
0 commit comments