vm(hako): add v1 reader/dispatcher (flagged), commonize mir_call handler, share block scan; smokes: add v1 hakovm canary; docs: 20.37/20.38 plans, OOB policy; runner: v1 hakovm toggle; include SKIP summary
This commit is contained in:
@ -13,6 +13,14 @@ pub(super) fn lower_loop_stmt(
|
||||
loop_stack: &mut Vec<LoopContext>,
|
||||
env: &BridgeEnv,
|
||||
) -> Result<BasicBlockId, String> {
|
||||
// Unification toggle (default ON). For now legacy path is removed; when OFF, warn and proceed unified.
|
||||
let unify_on = std::env::var("NYASH_MIR_UNIFY_LOOPFORM")
|
||||
.ok()
|
||||
.map(|v| matches!(v.trim().to_ascii_lowercase().as_str(), "1"|"true"|"on"))
|
||||
.unwrap_or(true);
|
||||
if !unify_on {
|
||||
crate::cli_v!("[loopform] NYASH_MIR_UNIFY_LOOPFORM=0 requested, but legacy path is unavailable; using unified phi_core path");
|
||||
}
|
||||
let cond_bb = new_block(f);
|
||||
let body_bb = new_block(f);
|
||||
let exit_bb = new_block(f);
|
||||
|
||||
Reference in New Issue
Block a user