summaryrefslogtreecommitdiff
path: root/vm.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.c
parenta903f89a23f0babeefabda3adb7b8d4c26fc4a0b (diff)
downloadruby-587135e9941306efee72346b0d00c82d8e8574e0.tar.gz
* 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.c')
-rw-r--r--vm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vm.c b/vm.c
index 2cc8c5aaba..4e713d3bf3 100644
--- a/vm.c
+++ b/vm.c
@@ -1216,9 +1216,6 @@ vm_exec(rb_thread_t *th)
vm_loop_start:
result = vm_exec_core(th, initial);
if ((state = th->state) != 0) {
-#ifdef __llvm__ /* LLVM optimization guard for TestEnumerator#test_nested_iteration */
- (void)__extension__({rb_thread_t t = *th; t;});
-#endif
err = result;
th->state = 0;
goto exception_handler;