interp: limit max instructions per function

This commit is contained in:
Kenneth Bell
2023-09-21 12:13:34 +01:00
parent a73eac22f1
commit ced1fa616c
6 changed files with 20 additions and 8 deletions
+1
View File
@@ -33,6 +33,7 @@ type Options struct {
Work bool // -work flag to print temporary build directory
InterpTimeout time.Duration
InterpMaxDepth int
InterpMaxInstr int
PrintIR bool
DumpSSA bool
VerifyIR bool