[前][次][番号順一覧][スレッド一覧]

ruby-changes:22296

From: naruse <ko1@a...>
Date: Fri, 20 Jan 2012 17:39:37 +0900 (JST)
Subject: [ruby-changes:22296] naruse:r34345 (trunk): * vm.c (vm_exec): remove workaround for LLVM because r34278 fixes it.

naruse	2012-01-20 17:39:24 +0900 (Fri, 20 Jan 2012)

  New Revision: 34345

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34345

  Log:
    * vm.c (vm_exec): remove workaround for LLVM because r34278 fixes it.
    
    * vm_insnhelper.c (vm_call_cfunc): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/vm.c
    trunk/vm_insnhelper.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 34344)
+++ ChangeLog	(revision 34345)
@@ -1,3 +1,9 @@
+Fri Jan 20 17:37:37 2012  NARUSE, Yui  <naruse@r...>
+
+	* vm.c (vm_exec): remove workaround for LLVM because r34278 fixes it.
+
+	* vm_insnhelper.c (vm_call_cfunc): ditto.
+
 Fri Jan 20 14:31:43 2012  NARUSE, Yui  <naruse@r...>
 
 	* lib/net/http.rb (Net::HTTP#transport_request): retry a idempotent
Index: vm.c
===================================================================
--- vm.c	(revision 34344)
+++ vm.c	(revision 34345)
@@ -1216,9 +1216,6 @@
       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;
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 34344)
+++ vm_insnhelper.c	(revision 34345)
@@ -454,10 +454,6 @@
     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);
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]