[cfe-commits] r41470 - in /cfe/trunk/CodeGen: CGExpr.cpp CodeGenFunction.h

Chris Lattner sabre at nondot.org
Sun Aug 26 16:02:57 PDT 2007


Author: lattner
Date: Sun Aug 26 18:02:57 2007
New Revision: 41470

URL: http://llvm.org/viewvc/llvm-project?rev=41470&view=rev
Log:
remove dead code


Modified:
    cfe/trunk/CodeGen/CGExpr.cpp
    cfe/trunk/CodeGen/CodeGenFunction.h

Modified: cfe/trunk/CodeGen/CGExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CGExpr.cpp?rev=41470&r1=41469&r2=41470&view=diff

==============================================================================
--- cfe/trunk/CodeGen/CGExpr.cpp (original)
+++ cfe/trunk/CodeGen/CGExpr.cpp Sun Aug 26 18:02:57 2007
@@ -174,10 +174,6 @@
 }
 
 
-RValue CodeGenFunction::EmitLoadOfLValue(const Expr *E) {
-  return EmitLoadOfLValue(EmitLValue(E), E->getType());
-}
-
 
 /// EmitStoreThroughLValue - Store the specified rvalue into the specified
 /// lvalue, where both are guaranteed to the have the same type, and that type

Modified: cfe/trunk/CodeGen/CodeGenFunction.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CodeGenFunction.h?rev=41470&r1=41469&r2=41470&view=diff

==============================================================================
--- cfe/trunk/CodeGen/CodeGenFunction.h (original)
+++ cfe/trunk/CodeGen/CodeGenFunction.h Sun Aug 26 18:02:57 2007
@@ -301,7 +301,6 @@
   /// EmitLoadOfLValue - Given an expression that represents a value lvalue,
   /// this method emits the address of the lvalue, then loads the result as an
   /// rvalue, returning the rvalue.
-  RValue EmitLoadOfLValue(const Expr *E);
   RValue EmitLoadOfLValue(LValue V, QualType LVType);
   RValue EmitLoadOfOCUElementLValue(LValue V, QualType LVType);
 





More information about the cfe-commits mailing list