diff options
author | Nate Begeman <natebegeman@mac.com> | 2009-08-12 02:10:25 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2009-08-12 02:10:25 +0000 |
commit | a88dc3079bedf70a5cfc39791727e43a10383006 (patch) | |
tree | 075a22b4d32abd5352dfb53f59b8add848753dee /lib/Sema/SemaChecking.cpp | |
parent | bf933a0cb628670490c15367b3f5ccb3193354a7 (diff) |
Fix a fixme by allocating ShuffleVectorExprs in the Context
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
-rw-r--r-- | lib/Sema/SemaChecking.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp index b35287aa31..ffe4abd731 100644 --- a/lib/Sema/SemaChecking.cpp +++ b/lib/Sema/SemaChecking.cpp @@ -626,8 +626,8 @@ Action::OwningExprResult Sema::SemaBuiltinShuffleVector(CallExpr *TheCall) { TheCall->setArg(i, 0); } - return Owned(new (Context) ShuffleVectorExpr(exprs.begin(), exprs.size(), - exprs[0]->getType(), + return Owned(new (Context) ShuffleVectorExpr(Context, exprs.begin(), + exprs.size(), exprs[0]->getType(), TheCall->getCallee()->getLocStart(), TheCall->getRParenLoc())); } |