aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprScalar.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-03-07 02:35:30 +0000
committerMike Stump <mrs@apple.com>2009-03-07 02:35:30 +0000
commit0892099dbc640720400a1d9decd2733a09d733e5 (patch)
tree08ca3627a78b3123dd62db6d4cbc72c2238348f3 /lib/CodeGen/CGExprScalar.cpp
parentd42ffbd22fc7eb61321f6a88173ee424991f01c6 (diff)
Codegen support for copy helpers for block literals.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66319 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprScalar.cpp')
-rw-r--r--lib/CodeGen/CGExprScalar.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CGExprScalar.cpp b/lib/CodeGen/CGExprScalar.cpp
index 70373031bb..9afe450c58 100644
--- a/lib/CodeGen/CGExprScalar.cpp
+++ b/lib/CodeGen/CGExprScalar.cpp
@@ -1326,8 +1326,7 @@ Value *ScalarExprEmitter::VisitVAArgExpr(VAArgExpr *VE) {
}
Value *ScalarExprEmitter::VisitBlockExpr(const BlockExpr *BE) {
- llvm::Value *V = CGF.BuildBlockLiteralTmp(BE);
- return V;
+ return CGF.BuildBlockLiteralTmp(BE);
}
//===----------------------------------------------------------------------===//