]> granicus.if.org Git - clang/commitdiff
remove dead code
authorChris Lattner <sabre@nondot.org>
Sun, 26 Aug 2007 23:02:57 +0000 (23:02 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 26 Aug 2007 23:02:57 +0000 (23:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41470 91177308-0d34-0410-b5e6-96231b3b80d8

CodeGen/CGExpr.cpp
CodeGen/CodeGenFunction.h

index 61fcc80ae3db0f38abb197ff52200bbd0e17ab20..a4b168d717f625d601ce54260c3e7a77a41e9b62 100644 (file)
@@ -174,10 +174,6 @@ RValue CodeGenFunction::EmitLoadOfOCUElementLValue(LValue LV,
 }
 
 
-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
index f9632ddf6e3e662e9250125a25d641e168d490f4..43fa98c18d86477a7a0baf416edbe4d58e70f109 100644 (file)
@@ -301,7 +301,6 @@ public:
   /// 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);