[llvm-branch-commits] [llvm-branch] r136069 - /llvm/branches/exception-handling-rewrite/include/llvm/Support/IRBuilder.h

Bill Wendling isanbard at gmail.com
Tue Jul 26 03:12:40 PDT 2011


Author: void
Date: Tue Jul 26 05:12:40 2011
New Revision: 136069

URL: http://llvm.org/viewvc/llvm-project?rev=136069&view=rev
Log:
Add method to create the resume instruction.

Modified:
    llvm/branches/exception-handling-rewrite/include/llvm/Support/IRBuilder.h

Modified: llvm/branches/exception-handling-rewrite/include/llvm/Support/IRBuilder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/exception-handling-rewrite/include/llvm/Support/IRBuilder.h?rev=136069&r1=136068&r2=136069&view=diff
==============================================================================
--- llvm/branches/exception-handling-rewrite/include/llvm/Support/IRBuilder.h (original)
+++ llvm/branches/exception-handling-rewrite/include/llvm/Support/IRBuilder.h Tue Jul 26 05:12:40 2011
@@ -479,6 +479,10 @@
     return Insert(new UnwindInst(Context));
   }
 
+  ResumeInst *CreateResume(Value *Exn) {
+    return Insert(ResumeInst::Create(Context, Exn));
+  }
+
   UnreachableInst *CreateUnreachable() {
     return Insert(new UnreachableInst(Context));
   }





More information about the llvm-branch-commits mailing list