mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_insnhelper.c (vm_call_cfunc): adding back useless hack. For some
reason, this fixes CFP errors on OS X 10.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
344191d18e
commit
a5a7e2cd91
2 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
Fri Oct 28 03:01:27 2011 Aaron Patterson <aaron@tenderlovemaking.com>
|
||||
|
||||
* vm_insnhelper.c (vm_call_cfunc): adding back useless hack. For some
|
||||
reason, this fixes CFP errors on OS X 10.7.
|
||||
|
||||
Fri Oct 28 00:09:31 2011 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/sdbm/_sdbm.c (sdbm_prep): refactored for less nesting.
|
||||
|
|
|
|||
|
|
@ -406,6 +406,10 @@ vm_call_cfunc(rb_thread_t *th, rb_control_frame_t *reg_cfp,
|
|||
if (reg_cfp != th->cfp + 1) {
|
||||
rb_bug("cfp consistency error - send");
|
||||
}
|
||||
#ifdef __llvm__
|
||||
#define RB_LLVM_GUARD(v) (*RB_GC_GUARD_PTR((volatile VALUE *)&(v)))
|
||||
RB_LLVM_GUARD(reg_cfp);
|
||||
#endif
|
||||
|
||||
vm_pop_frame(th);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue