summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-06 13:57:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-06 13:57:23 +0000
commitd71b5394ac82943a7313d01d8880bb022f4d2871 (patch)
tree16839a6e8ffbc789ecb976abc6e281dba36a2ae7 /vm_core.h
parent48f5f5915b0c357b05a9dda2732470bf67ebd691 (diff)
Make `trace_running` an integer flag again
* vm_core.h (rb_vm_struct): trace_running should be a counter but not a bit flag. [ruby-core:78514] [Bug #13011] Author: David Rodríguez <deivid.rodriguez@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57002 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 93b1152aea..5191c7d466 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -497,7 +497,7 @@ typedef struct rb_vm_struct {
unsigned int running: 1;
unsigned int thread_abort_on_exception: 1;
unsigned int thread_report_on_exception: 1;
- unsigned int trace_running: 1;
+ int trace_running;
volatile int sleeper;
/* object management */