From 0f0fc01a96bc227bf76d2e71776ce9fab9e1fe6a Mon Sep 17 00:00:00 2001 From: belliash Date: Sat, 13 Apr 2019 20:21:47 +0200 Subject: [PATCH] We need to distinguish the loop frames. --- include/ph7int.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/ph7int.h b/include/ph7int.h index 0ae77a0..112a289 100644 --- a/include/ph7int.h +++ b/include/ph7int.h @@ -1263,9 +1263,10 @@ struct VmFrame { sxu32 iExceptionJump; /* Exception jump destination */ }; #define VM_FRAME_ACTIVE 0x01 /* Active call frame */ -#define VM_FRAME_EXCEPTION 0x02 /* Special Exception frame */ -#define VM_FRAME_THROW 0x04 /* An exception was thrown */ -#define VM_FRAME_CATCH 0x08 /* Catch frame */ +#define VM_FRAME_LOOP 0x02 /* Active loop frame */ +#define VM_FRAME_EXCEPTION 0x04 /* Special Exception frame */ +#define VM_FRAME_THROW 0x08 /* An exception was thrown */ +#define VM_FRAME_CATCH 0x10 /* Catch frame */ /* * When a debug stacktrace is extracted from Virtual Machine, all information about * calls (file, line, class, method, arguments) are stored in this structure.