Omit EmitConversion
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41438 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/CodeGen/CGExprScalar.cpp b/CodeGen/CGExprScalar.cpp
index b1f26d6..deaf0a8 100644
--- a/CodeGen/CGExprScalar.cpp
+++ b/CodeGen/CGExprScalar.cpp
@@ -378,10 +378,8 @@
// If the destination is void, just evaluate the source.
if (DestTy->isVoidType()) return 0;
-
- // FIXME: Refactor EmitConversion to not return an RValue. Sink it into this
- // method.
- return CGF.EmitConversion(Src, E->getType(), DestTy).getVal();
+
+ assert(0 && "Can't convert from an aggregate yet!");
}
//===----------------------------------------------------------------------===//