From 3b227bd6294e00952131ab08d2812caa8f6cfb45 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Wed, 3 Feb 2010 16:38:03 +0000 Subject: Revert the new reference binding code; I came up with a way simpler solution for the reference binding bug that is preventing self-hosting. llvm-svn: 95223 --- clang/lib/CodeGen/CodeGenFunction.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenFunction.h') diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 5de91ee3351..3e47469e76c 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1111,10 +1111,7 @@ public: /// EmitReferenceBindingToExpr - Emits a reference binding to the passed in /// expression. Will emit a temporary variable if E is not an LValue. - RValue EmitReferenceBindingToExpr(const Expr* E, QualType DestType, - bool IsInitializer = false); - - llvm::Value *EmitCXXBindReferenceExpr(const CXXBindReferenceExpr *E); + RValue EmitReferenceBindingToExpr(const Expr* E, bool IsInitializer = false); //===--------------------------------------------------------------------===// // Expression Emission -- cgit v1.2.3