summaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-10 03:10:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-10 03:10:00 +0000
commit2ff4b2750f4557a6a55db3aa4f9733824f5b0c16 (patch)
tree259804fd59dcbf2d7dbe669f850b46f6b8960220 /vm_core.h
parente9e7478177eb6a0daac8244c6f537a971555d261 (diff)
downloadruby-2ff4b2750f4557a6a55db3aa4f9733824f5b0c16.tar.gz
ruby-2ff4b2750f4557a6a55db3aa4f9733824f5b0c16.tar.xz
ruby-2ff4b2750f4557a6a55db3aa4f9733824f5b0c16.zip
* vm_core.h (rb_thread_t), vm.c (rb_thread_mark), process.c
(rb_last_status_get, rb_last_status_set, rb_last_status_clear): moved last_status from rb_vm_t. [ruby-dev:35414] * vm.c (th_init2): initialize last_status with nil. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index f60544560..48fde8d8d 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -305,7 +305,6 @@ struct rb_vm_struct
st_table *living_threads;
VALUE thgroup_default;
- VALUE last_status; /* $? */
int running;
int thread_abort_on_exception;
@@ -408,6 +407,7 @@ struct rb_thread_struct
rb_control_frame_t *cfp;
int safe_level;
int raised_flag;
+ VALUE last_status; /* $? */
/* passing state */
int state;