projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27c87ff
)
Eliminate an unused-variable warning
author
Douglas Gregor
<dgregor@apple.com>
Wed, 29 Jul 2009 22:40:58 +0000
(22:40 +0000)
committer
Douglas Gregor
<dgregor@apple.com>
Wed, 29 Jul 2009 22:40:58 +0000
(22:40 +0000)
llvm-svn: 77518
clang/lib/CodeGen/CGObjCMac.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/CGObjCMac.cpp
b/clang/lib/CodeGen/CGObjCMac.cpp
index
45ce425
..
3ad2bef
100644
(file)
--- a/
clang/lib/CodeGen/CGObjCMac.cpp
+++ b/
clang/lib/CodeGen/CGObjCMac.cpp
@@
-101,7
+101,6
@@
LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
unsigned CVRQualifiers,
llvm::Value *Offset) {
// Compute (type*) ( (char *) BaseValue + Offset)
- llvm::LLVMContext &VMContext = CGF.getLLVMContext();
llvm::Type *I8Ptr = llvm::PointerType::getUnqual(llvm::Type::Int8Ty);
QualType IvarTy = Ivar->getType();
const llvm::Type *LTy = CGF.CGM.getTypes().ConvertTypeForMem(IvarTy);