Files
hakorune/vm_stats_simple.json
Moe Charm fffbac9aac feat: MIR TypeOp/WeakRef/Barrier PoC implementation
- Add TypeOpKind, WeakRefOp, BarrierOp enums for unified instructions
- Implement TypeOp instruction combining TypeCheck/Cast
- Implement WeakRef instruction combining WeakNew/WeakLoad
- Implement Barrier instruction combining BarrierRead/BarrierWrite
- Update VM to handle new unified instructions
- Update MIR printer for new instruction formats
- Add feature flags mir_typeop_poc and mir_refbarrier_unify_poc
- Maintain backward compatibility with legacy instructions

This is Phase 8.5 MIR instruction diet PoC implementation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-23 19:27:02 +09:00

51 lines
888 B
JSON

🔌 v2 plugin system initialized from nyash.toml
v2 plugin system fully configured
🚀 Nyash VM Backend - Executing file: local_tests/test_vm_simple.nyash 🚀
15
{
"counts": {
"BinOp": 1,
"BoxCall": 2,
"Const": 5,
"NewBox": 2,
"Print": 1,
"Return": 1,
"Safepoint": 1
},
"elapsed_ms": 0.154706,
"timestamp_ms": 1755939354732,
"top20": [
{
"count": 5,
"op": "Const"
},
{
"count": 2,
"op": "BoxCall"
},
{
"count": 2,
"op": "NewBox"
},
{
"count": 1,
"op": "BinOp"
},
{
"count": 1,
"op": "Print"
},
{
"count": 1,
"op": "Return"
},
{
"count": 1,
"op": "Safepoint"
}
],
"total": 13
}
VM execution completed successfully!
Result: IntegerBox { value: 15, base: BoxBase { id: 12, parent_type_id: None } }