mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_dump.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d737ae5449
commit
38f129397b
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Jan 12 19:37:10 2011 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* vm_dump.c: parenthesize macro arguments.
|
||||||
|
|
||||||
Wed Jan 12 19:28:23 2011 Tanaka Akira <akr@fsij.org>
|
Wed Jan 12 19:28:23 2011 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* vm.c (thread_free): reset ruby_current_thread if it points the
|
* vm.c (thread_free): reset ruby_current_thread if it points the
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#define MAX_POSBUF 128
|
#define MAX_POSBUF 128
|
||||||
|
|
||||||
#define VM_CFP_CNT(th, cfp) \
|
#define VM_CFP_CNT(th, cfp) \
|
||||||
((rb_control_frame_t *)(th->stack + th->stack_size) - (rb_control_frame_t *)(cfp))
|
((rb_control_frame_t *)((th)->stack + (th)->stack_size) - (rb_control_frame_t *)(cfp))
|
||||||
|
|
||||||
static void
|
static void
|
||||||
control_frame_dump(rb_thread_t *th, rb_control_frame_t *cfp)
|
control_frame_dump(rb_thread_t *th, rb_control_frame_t *cfp)
|
||||||
|
|
Loading…
Reference in a new issue