diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-02-05 15:02:23 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-02-05 15:02:23 +0000 |
commit | 76ad2e85575722e8a38a2bd4648ab4304d9fcd24 (patch) | |
tree | 4fd48aba612cba8567f0e3014a8b76236f76d1dc /lib/Parse/ParseInit.cpp | |
parent | 0defd76d0b73c4866f1d5f71a274bf125fafd446 (diff) |
Put the invalid flag of OwningResult into the Action pointer.
This shrinks OwningResult by one pointer. Since it is no longer larger than OwningPtr, merge the two.
This leads to simpler client code and speeds up my benchmark by 2.7%.
For some reason, this exposes a previously hidden bug, causing a regression in SemaCXX/condition.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63867 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseInit.cpp')
-rw-r--r-- | lib/Parse/ParseInit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseInit.cpp b/lib/Parse/ParseInit.cpp index ec8470cb45..0b34feaedb 100644 --- a/lib/Parse/ParseInit.cpp +++ b/lib/Parse/ParseInit.cpp @@ -174,7 +174,7 @@ ParseInitializerWithPotentialDesignator(InitListDesignations &Designations, return ParseAssignmentExprWithObjCMessageExprStart(StartLoc, SourceLocation(), - 0, move_arg(Idx)); + 0, move(Idx)); } // Create designation if we haven't already. |