Added crash function

This commit is contained in:
2025-03-14 09:52:00 +01:00
parent 06f3af256b
commit 9726f1d832
8 changed files with 19 additions and 27 deletions

View File

@ -20,7 +20,7 @@ func (f *Function) CompileAssert(assert *ast.Assert) error {
f.Defer(func() {
f.AddLabel(fail)
f.Jump(asm.JUMP, asm.Label{Name: "_crash", Type: asm.ControlLabel})
f.Jump(asm.JUMP, asm.Label{Name: "core.crash", Type: asm.ControlLabel})
})
return err