Commit 0c2f903
committed
W27b python#2: emitFormatSimple → C body + delegation stub
FORMAT_VALUE/FORMAT_SIMPLE (mainline) opcode handler. Per W27b Step A scope.
C body: hir_builder_emit_format_simple_c (~38 lines). Block-creation
pattern: cond-branch on TUnicodeExact → format_with_spec (slow path) OR
refine_type (pass-through fast path) → done.
C primitives used: hir_cfg_alloc_block + hir_c_create_cond_branch_check_type_cpp
+ hir_c_create_load_const + hir_c_create_format_with_spec_reg
+ hir_c_create_refine_type_reg + hir_c_create_branch_cpp
+ hir_builder_temps_alloc_stack (all existing).
C++ HIRBuilder::emitFormatSimple → 4-line delegation stub (cfg arg
unused, marked maybe_unused).
Verification: cmake --build target jit/phoenix_jit clean (BUILD_EXIT=0).
Sole-path coverage: FORMAT_VALUE/FORMAT_SIMPLE is mainline-tested per
theologian L2515 coverage observation.1 parent 526ec72 commit 0c2f903
2 files changed
Lines changed: 43 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5054 | 5054 | | |
5055 | 5055 | | |
5056 | 5056 | | |
5057 | | - | |
5058 | | - | |
5059 | | - | |
5060 | | - | |
5061 | | - | |
5062 | | - | |
5063 | | - | |
5064 | | - | |
5065 | | - | |
5066 | | - | |
5067 | | - | |
5068 | | - | |
5069 | | - | |
5070 | | - | |
5071 | | - | |
5072 | | - | |
5073 | | - | |
5074 | | - | |
5075 | | - | |
5076 | | - | |
5077 | | - | |
| 5057 | + | |
| 5058 | + | |
5078 | 5059 | | |
5079 | | - | |
5080 | | - | |
| 5060 | + | |
| 5061 | + | |
5081 | 5062 | | |
5082 | 5063 | | |
5083 | 5064 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3924 | 3924 | | |
3925 | 3925 | | |
3926 | 3926 | | |
| 3927 | + | |
| 3928 | + | |
| 3929 | + | |
| 3930 | + | |
| 3931 | + | |
| 3932 | + | |
| 3933 | + | |
| 3934 | + | |
| 3935 | + | |
| 3936 | + | |
| 3937 | + | |
| 3938 | + | |
| 3939 | + | |
| 3940 | + | |
| 3941 | + | |
| 3942 | + | |
| 3943 | + | |
| 3944 | + | |
| 3945 | + | |
| 3946 | + | |
| 3947 | + | |
| 3948 | + | |
| 3949 | + | |
| 3950 | + | |
| 3951 | + | |
| 3952 | + | |
| 3953 | + | |
| 3954 | + | |
| 3955 | + | |
| 3956 | + | |
| 3957 | + | |
| 3958 | + | |
| 3959 | + | |
| 3960 | + | |
| 3961 | + | |
| 3962 | + | |
| 3963 | + | |
| 3964 | + | |
| 3965 | + | |
3927 | 3966 | | |
0 commit comments