* vm_insnhelper.c (vm_call_super_method): a workaround for the
failure of TestRefinement#test_refine_recursion in Windows. See [ruby-core:50871] for details. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c01f06089f
commit
a4629a2ec5
@ -1,3 +1,9 @@
|
|||||||
|
Thu Dec 13 23:14:17 2012 Shugo Maeda <shugo@ruby-lang.org>
|
||||||
|
|
||||||
|
* vm_insnhelper.c (vm_call_super_method): a workaround for the
|
||||||
|
failure of TestRefinement#test_refine_recursion in Windows.
|
||||||
|
See [ruby-core:50871] for details.
|
||||||
|
|
||||||
Thu Dec 13 23:10:52 Charlie Somerville <charlie@charliesomerville.com>
|
Thu Dec 13 23:10:52 Charlie Somerville <charlie@charliesomerville.com>
|
||||||
* object.c (Init_Object): use rb_mod_init_copy for Class#initialize_copy
|
* object.c (Init_Object): use rb_mod_init_copy for Class#initialize_copy
|
||||||
* class.c (rb_class_init_copy): rename to class_init_copy_check, performs type
|
* class.c (rb_class_init_copy): rename to class_init_copy_check, performs type
|
||||||
|
@ -1852,6 +1852,11 @@ vm_call_general(rb_thread_t *th, rb_control_frame_t *reg_cfp, rb_call_info_t *ci
|
|||||||
static VALUE
|
static VALUE
|
||||||
vm_call_super_method(rb_thread_t *th, rb_control_frame_t *reg_cfp, rb_call_info_t *ci)
|
vm_call_super_method(rb_thread_t *th, rb_control_frame_t *reg_cfp, rb_call_info_t *ci)
|
||||||
{
|
{
|
||||||
|
#ifdef _WIN32
|
||||||
|
volatile int x = 0; /* a workaround to avoid VC++ optimization which
|
||||||
|
makes vm_call_super_method as an alias of
|
||||||
|
vm_call_general! */
|
||||||
|
#endif
|
||||||
return vm_call_method(th, reg_cfp, ci);
|
return vm_call_method(th, reg_cfp, ci);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user