()
| 292 | func (e *engine) hooked() bool { return e.l.hookMask&(MaskLine|MaskCount) != 0 } |
| 293 | |
| 294 | func (e *engine) hook() { |
| 295 | if e.l.hookCount--; e.l.hookCount == 0 || e.l.hookMask&MaskLine != 0 { |
| 296 | e.l.traceExecution() |
| 297 | e.frame = e.callInfo.frame |
| 298 | } |
| 299 | } |
| 300 | |
| 301 | type engineOp func(*engine, instruction) (engineOp, instruction) |
| 302 |