summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 705df82b18..126f48ec80 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -347,6 +347,10 @@ struct rb_vm_tag {
struct rb_vm_tag *prev;
};
+struct rb_vm_protect_tag {
+ struct rb_vm_protect_tag *prev;
+};
+
#define RUBY_VM_VALUE_CACHE_SIZE 0x1000
#define USE_VALUE_CACHE 0
@@ -410,6 +414,7 @@ typedef struct rb_thread_struct
int transition_for_lock;
struct rb_vm_tag *tag;
+ struct rb_vm_protect_tag *protect_tag;
int parse_in_eval;
int mild_compile_error;