summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-05 07:35:31 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-05 07:35:31 +0000
commit6340d6336a41c00577f4c5c1060a779220681ca1 (patch)
tree094b51eca1a4dc86e15db162763c8a47ab9c9862 /vm_insnhelper.c
parenta635de7dcbc14a1f59fbcf07122c6bce1fb21673 (diff)
* vm_insnhelper.c (vm_call_cfunc): remove useless hack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 420e67de05..7f38ccf7c1 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -406,10 +406,6 @@ 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);