aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaStmt.cpp
diff options
context:
space:
mode:
authorSam Weinig <sam.weinig@gmail.com>2010-02-03 02:09:59 +0000
committerSam Weinig <sam.weinig@gmail.com>2010-02-03 02:09:59 +0000
commitb0e4cb6a88a4b4bd2ecdcc622e852fa3e20290c9 (patch)
tree002626264a64471bdbcb0fc15307981b8b91814e /lib/Sema/SemaStmt.cpp
parenta8fa96e366ab36145a5500dd4fbea717c217f131 (diff)
Remove the SmallVector from CXXTryStmt.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmt.cpp')
-rw-r--r--lib/Sema/SemaStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp
index 54a892ac56..0fecb8ba86 100644
--- a/lib/Sema/SemaStmt.cpp
+++ b/lib/Sema/SemaStmt.cpp
@@ -1551,7 +1551,7 @@ Sema::ActOnCXXTryBlock(SourceLocation TryLoc, StmtArg TryBlock,
CurFunctionNeedsScopeChecking = true;
RawHandlers.release();
- return Owned(new (Context) CXXTryStmt(TryLoc,
+ return Owned(new (Context) CXXTryStmt(Context, TryLoc,
static_cast<Stmt*>(TryBlock.release()),
Handlers, NumHandlers));
}