aboutsummaryrefslogtreecommitdiff
path: root/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
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
commit6a8f3f9e20d9bd39f1298c029c56cada1b21f399 (patch)
treebca51fb62a078e63065f7f6ee9c73afcda8f7e56 /llvm/examples/ExceptionDemo/ExceptionDemo.cpp
parente81699d938f43085af66ac6681bf40c593670049 (diff)
downloadllvm-6a8f3f9e20d9bd39f1298c029c56cada1b21f399.zip
llvm-6a8f3f9e20d9bd39f1298c029c56cada1b21f399.tar.gz
llvm-6a8f3f9e20d9bd39f1298c029c56cada1b21f399.tar.bz2
Delete a directory that wasn't supposed to be checked in yet.
llvm-svn: 166591
Diffstat (limited to 'llvm/examples/ExceptionDemo/ExceptionDemo.cpp')
-rw-r--r--llvm/examples/ExceptionDemo/ExceptionDemo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp b/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
index 215cb4d..8947147 100644
--- a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
+++ b/llvm/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