Phase 25.1a: selfhost builder hotfix (fn rename, docs)
This commit is contained in:
@ -51,7 +51,8 @@ impl MirInterpreter {
|
||||
|
||||
loop {
|
||||
steps += 1;
|
||||
if steps > max_steps {
|
||||
// max_steps == 0 は「上限なし」を意味する(開発/診断専用)。
|
||||
if max_steps > 0 && steps > max_steps {
|
||||
return Err(VMError::InvalidInstruction(format!(
|
||||
"vm step budget exceeded (max_steps={})",
|
||||
max_steps
|
||||
|
||||
Reference in New Issue
Block a user