aboutsummaryrefslogtreecommitdiffstats
path: root/yarvcore.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-24 03:08:13 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-24 03:08:13 +0000
commite4aa7208e5b8b5aff35af4b262291ab2c39e66d9 (patch)
treecb39b879da34d69341ae5d52476190bf9abd309a /yarvcore.h
parent7d200b94f946f0caffa3ea3a72783855e421df32 (diff)
downloadruby-e4aa7208e5b8b5aff35af4b262291ab2c39e66d9.tar.gz
* cont.c: check across trap violation.
* eval.c, yarvcore.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvcore.h')
-rw-r--r--yarvcore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/yarvcore.h b/yarvcore.h
index 181e86d34e..ba99c8a2a5 100644
--- a/yarvcore.h
+++ b/yarvcore.h
@@ -410,6 +410,10 @@ struct rb_vm_tag {
struct rb_vm_tag *prev;
};
+struct rb_vm_trap_tag {
+ struct rb_vm_trap_tag *prev;
+};
+
#define RUBY_VM_VALUE_CACHE_SIZE 0x1000
#define USE_VALUE_CACHE 0
@@ -460,6 +464,7 @@ struct rb_thread_struct
rb_thread_lock_t interrupt_lock;
struct rb_vm_tag *tag;
+ struct rb_vm_trap_tag *trap_tag;
int parse_in_eval;