()
| 280 | } |
| 281 | |
| 282 | func (e *engine) newFrame() { |
| 283 | ci := e.callInfo |
| 284 | // if internalCheck { |
| 285 | // e.l.assert(ci == e.l.callInfo.variant) |
| 286 | // } |
| 287 | e.frame = ci.frame |
| 288 | e.closure = e.l.stack[ci.function].(*luaClosure) |
| 289 | e.constants = e.closure.prototype.constants |
| 290 | } |
| 291 | |
| 292 | func (e *engine) hooked() bool { return e.l.hookMask&(MaskLine|MaskCount) != 0 } |
| 293 |