mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_insnhelper.c (vm_call_cfunc): suppress a warning. note that
`volatile type *var' doesn't make var itself volatile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7f4c92c478
commit
64b7b548e0
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Sep 22 02:53:19 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* vm_insnhelper.c (vm_call_cfunc): suppress a warning. note that
|
||||
`volatile type *var' doesn't make var itself volatile.
|
||||
|
||||
Thu Sep 22 01:52:48 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
||||
|
||||
* thread_pthread.c (ubf_select): activate timer thread when interrupt
|
||||
|
|
|
@ -407,7 +407,7 @@ vm_call_cfunc(rb_thread_t *th, rb_control_frame_t *reg_cfp,
|
|||
rb_bug("cfp consistency error - send");
|
||||
}
|
||||
#ifdef __llvm__
|
||||
#define RB_LLVM_GUARD(v) RB_GC_GUARD(v)
|
||||
#define RB_LLVM_GUARD(v) (*RB_GC_GUARD_PTR((volatile VALUE *)&(v)))
|
||||
RB_LLVM_GUARD(reg_cfp);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue