Implement a watchdog timer for scripts that take too long to execute (
bug 5837, r=fyren).
1 // vim: set ts=8 sts=2 sw=2 tw=99 et:
2 #ifndef _INCLUDE_SOURCEPAWN_JIT2_FUNCTION_H_
3 #define _INCLUDE_SOURCEPAWN_JIT2_FUNCTION_H_
5 #include <sp_vm_types.h>
17 JitFunction(void *entry_addr, cell_t pcode_offs, LoopEdge *edges, uint32_t nedges);
21 void *GetEntryAddress() const;
22 cell_t GetPCodeAddress() const;
23 uint32_t NumLoopEdges() const {
26 const LoopEdge &GetLoopEdge(size_t i) const {
38 #endif //_INCLUDE_SOURCEPAWN_JIT2_FUNCTION_H_