mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
vm_trace.c (rb_tp_t): pack 56 => 48 bytes on 64-bit
48 bytes is a common malloc size class on x86-64 machines which require 16-byte alignment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
56fa18c9d3
commit
d2efc00b06
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Oct 3 05:58:58 2014 Eric Wong <e@80x24.org>
|
||||
|
||||
* vm_trace.c (rb_tp_t): pack 56 => 48 bytes on 64-bit
|
||||
|
||||
Thu Oct 2 18:41:45 2014 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/etc/etc.c (etc_nprocessors): Windows support.
|
||||
|
|
|
@ -640,11 +640,11 @@ static VALUE rb_cTracePoint;
|
|||
|
||||
typedef struct rb_tp_struct {
|
||||
rb_event_flag_t events;
|
||||
int tracing; /* bool */
|
||||
rb_thread_t *target_th;
|
||||
void (*func)(VALUE tpval, void *data);
|
||||
void *data;
|
||||
VALUE proc;
|
||||
int tracing;
|
||||
VALUE self;
|
||||
} rb_tp_t;
|
||||
|
||||
|
|
Loading…
Reference in a new issue