Commit 256984d
committed
hir_instr_c.h: 4 inline opcode predicates for BLME C-port (Phase 4.A batch 1)
Header-only change — 4 trivial static-inline opcode predicates needed
for builtin_load_method_elimination's pure-C port. Added next to the
existing hir_c_is_* family (after hir_c_is_replayable):
- hir_c_is_call_method (HIR_OP_CallMethod)
- hir_c_is_load_method_super (HIR_OP_LoadMethodSuper)
- hir_c_is_get_second_output (HIR_OP_GetSecondOutput)
- hir_c_is_load_method_base (3-way disjunction over LoadMethod /
LoadMethodCached / LoadModuleMethodCached;
C-side mirror of jit::hir::isLoadMethodBase
at hir.cpp:725)
No .c/.cpp changes; no behavior change. Phase 4.A pilot (theologian
invariant pre-audit 08:10:43Z + supervisor 08:14:58Z PROCEED on
header-only step).
Build: scripts/build_phoenix.sh --clean PASS (testkeeper 08:18:43Z +
08:20:37Z clarification — only this hir_instr_c.h delta in WT during
build; 4 unrelated mods stashed for isolation; clean ThinLTO; included
by 10+ jit/hir/*.c TUs which all compiled under C with the new
predicates in scope).1 parent e5f3412 commit 256984d
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1517 | 1517 | | |
1518 | 1518 | | |
1519 | 1519 | | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
1520 | 1539 | | |
1521 | 1540 | | |
1522 | 1541 | | |
| |||
0 commit comments