aboutsummaryrefslogtreecommitdiffstats
path: root/vm_exec.h
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-18 02:06:44 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-18 02:06:44 +0000
commitf8eaf3c625e7a57509d74ce26a82593698fafad0 (patch)
tree5721a7b2c92d393c481e37da2765192d724ca72d /vm_exec.h
parent9b113a0d6bec8e61e72171d98843b4d58f8dbf53 (diff)
downloadruby-f8eaf3c625e7a57509d74ce26a82593698fafad0.tar.gz
* vm_exec.h (END_INSN): revert r39517 because the segv seems fixed by
r39806. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_exec.h')
-rw-r--r--vm_exec.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/vm_exec.h b/vm_exec.h
index d371054bc9..7d720b5144 100644
--- a/vm_exec.h
+++ b/vm_exec.h
@@ -116,21 +116,9 @@ error !
#endif /* DISPATCH_DIRECT_THREADED_CODE */
-#if defined(__llvm__) && !defined(__clang__)
- /* llvm-gcc may optimize out reg_cfp and cause Stack/cfp consistency error
- * when the instruction doesn't use reg_cfp.
- * Usually instructions use PUSH() but for example trace doesn't.
- * This hack cause speed down but you shouldn't use llvm-gcc, use clang.
- */
#define END_INSN(insn) \
- { rb_control_frame_t *volatile RB_UNUSED_VAR(tmpcfp) = reg_cfp; } \
DEBUG_END_INSN(); \
TC_DISPATCH(insn);
-#else
-#define END_INSN(insn) \
- DEBUG_END_INSN(); \
- TC_DISPATCH(insn);
-#endif
#define INSN_DISPATCH() \
TC_DISPATCH(__START__) \