summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-23 03:47:45 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-23 03:47:45 +0000
commitb67d76b3a63cea04af8d6d1536d67a5d259cb8aa (patch)
treee9877589f048c5abf4fa9e3ca750cab1e688618f /vm_core.h
parent1d6c1e27d4db6521c023ffe5a12980c72175ff1b (diff)
Revert "vm_trace: implement postponed_jobs as st_table"
This reverts commit 5a1dfb04bc2b09fcf8f3427cac72d0ce52a45eb2 (r63451) And mark the functions as async-signal-safe while we're at it to prevent future developers from making the same mistake as I did :x git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index 6127968..818a6f9 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -630,7 +630,8 @@ typedef struct rb_vm_struct {
struct st_table *ensure_rollback_table;
/* postponed_job */
- struct st_table *postponed_jobs;
+ struct rb_postponed_job_struct *postponed_job_buffer;
+ int postponed_job_index;
int src_encoding_index;