diff gen/irstate.h @ 1509:e07f15c4ab4d

Automated merge with http://hg.dsource.org/projects/ldc
author Christian Kamm <kamm incasoftware de>
date Sat, 20 Jun 2009 19:12:04 +0200
parents e1e93343fc11
children ad7f2f1862d6
line wrap: on
line diff
--- a/gen/irstate.h	Sat Jun 20 14:28:59 2009 +0200
+++ b/gen/irstate.h	Sat Jun 20 19:12:04 2009 +0200
@@ -182,7 +182,7 @@
 template <typename InputIterator>
 llvm::CallSite IRState::CreateCallOrInvoke(LLValue* Callee, InputIterator ArgBegin, InputIterator ArgEnd, const char* Name)
 {
-    llvm::BasicBlock* pad = func()->landingPad;
+    llvm::BasicBlock* pad = func()->gen->landingPad;
     if(pad)
     {
         // intrinsics don't support invoking and 'nounwind' functions don't need it.