aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ExceptionDemo
diff options
context:
space:
mode:
authorMicah Villmow <villmow@gmail.com>2012-10-24 17:20:04 +0000
committerMicah Villmow <villmow@gmail.com>2012-10-24 17:20:04 +0000
commit2f87640b86315beab8a5671cc23f524e59c58bd3 (patch)
treecb18e28b2d6aa7b36dcca2f78cab41f315409d51 /examples/ExceptionDemo
parentaa76e9e2cf50af190de90bc778b7f7e42ef9ceff (diff)
downloadexternal_llvm-2f87640b86315beab8a5671cc23f524e59c58bd3.zip
external_llvm-2f87640b86315beab8a5671cc23f524e59c58bd3.tar.gz
external_llvm-2f87640b86315beab8a5671cc23f524e59c58bd3.tar.bz2
Delete a directory that wasn't supposed to be checked in yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/ExceptionDemo')
-rw-r--r--examples/ExceptionDemo/ExceptionDemo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ExceptionDemo/ExceptionDemo.cpp b/examples/ExceptionDemo/ExceptionDemo.cpp
index 215cb4d..8947147 100644
--- a/examples/ExceptionDemo/ExceptionDemo.cpp
+++ b/examples/ExceptionDemo/ExceptionDemo.cpp
@@ -1268,7 +1268,7 @@ llvm::Function *createCatchWrappedInvokeFunction(llvm::Module &module,
llvm::Value *unwindExceptionClass =
builder.CreateLoad(builder.CreateStructGEP(
builder.CreatePointerCast(unwindException,
- ourUnwindExceptionType->getPointerTo()),
+ ourUnwindExceptionType->getPointerTo(0)),
0));
// Branch to the externalExceptionBlock if the exception is foreign or