summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-01-20 08:39:24 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-01-20 08:39:24 +0000
commit587135e9941306efee72346b0d00c82d8e8574e0 (patch)
tree5e592b488094d72dbb46acd9258b565ad3dca25e /vm_insnhelper.c
parenta903f89a23f0babeefabda3adb7b8d4c26fc4a0b (diff)
* vm.c (vm_exec): remove workaround for LLVM because r34278 fixes it.
* vm_insnhelper.c (vm_call_cfunc): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34345 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 78d6b8a083..92f6f7c1e2 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -454,10 +454,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);