http://llvm.org/bugs/show_bug.cgi?id=14576

Rafael Ávila de Espíndola <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Rafael Ávila de Espíndola <[email protected]> 
2012-12-11 13:21:50 CST ---
This patch removes the calls to llvm.trap:

--- bind.h    2012-12-11 10:52:26.000000000 -0500
+++ newbind.h    2012-12-11 14:21:46.928665479 -0500
@@ -445,6 +445,7 @@
                 args.count,
                 args.types,
                
reinterpret_cast<internal::GenericFunction>(&internal::raw_constructor<ClassType,
ConstructorArgs...>));
+            return *this;
         }

         template<typename ReturnType, typename... Args>
@@ -557,6 +558,7 @@
                 }
                 new(get()) T(v);
                 initialized = true;
+                return *this;
             }

         private:

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to