diff options
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
| -rw-r--r-- | lib/CodeGen/CGExpr.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index a21140765c20..0951019f0108 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -670,7 +670,7 @@ LValue CodeGenFunction::EmitDeclRefLValue(const DeclRefExpr *E) {          isa<ImplicitParamDecl>(VD))) {      LValue LV;      bool NonGCable = VD->hasLocalStorage() &&  -      !VD->hasAttr<BlocksAttr>(getContext()); +      !VD->hasAttr<BlocksAttr>();      if (VD->hasExternalStorage()) {        llvm::Value *V = CGM.GetAddrOfGlobalVar(VD);        if (VD->getType()->isReferenceType()) @@ -686,7 +686,7 @@ LValue CodeGenFunction::EmitDeclRefLValue(const DeclRefExpr *E) {        // local static?        if (!NonGCable)          attr = getContext().getObjCGCAttrKind(E->getType()); -      if (VD->hasAttr<BlocksAttr>(getContext())) { +      if (VD->hasAttr<BlocksAttr>()) {          bool needsCopyDispose = BlockRequiresCopying(VD->getType());          const llvm::Type *PtrStructTy = V->getType();          const llvm::Type *Ty = PtrStructTy; | 
