go-vise

Constrained Size Output Virtual Machine
Info | Log | Files | Refs | README | LICENSE

commit c2172518ed8e78ac6040e712a29b6b4ad38f1227
parent dfc0ae473a74a239db1f0909c9533f92b80826ab
Author: lash <dev@holbrook.no>
Date:   Sat, 31 Aug 2024 20:45:06 +0100

Remove commented code

Diffstat:
Mvm/runner.go | 13-------------
1 file changed, 0 insertions(+), 13 deletions(-)

diff --git a/vm/runner.go b/vm/runner.go @@ -32,7 +32,6 @@ func(e *ExternalCodeError) WithCode(code int) *ExternalCodeError { // Error implements error interface func(e ExternalCodeError) Error() string { - //return fmt.Sprintf("[%s] %v", e.sym, e.err) Logg.Errorf("external code error: %v", e.err) return fmt.Sprintf("error %v:%v", e.sym, e.code) } @@ -228,19 +227,7 @@ func(vm *Vm) runCatch(ctx context.Context, b []byte) ([]byte, error) { return b, err } r := vm.st.MatchFlag(sig, mode) -// if err != nil { -// var perr error -// _, perr = vm.st.SetFlag(state.FLAG_TERMINATE) -// if perr != nil { -// panic(perr) -// } -// Logg.TraceCtxf(ctx, "terminate set") -// return b, err -// } if r { - //b = append(bh, b...) - //vm.st.Down(sym) - //vm.ca.Push() actualSym, _, err := applyTarget([]byte(sym), vm.st, vm.ca, ctx) if err != nil { return b, err