diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2008-08-11 18:12:00 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2008-08-11 18:12:00 +0000 |
| commit | 208ff5e8a073de2a5d15cbe03cab8a4c0d935e28 (patch) | |
| tree | abbaf176368be1bd64b39dc63779a22331eccab0 /lib/CodeGen/CGExpr.cpp | |
| parent | 6379a7a15335e0af543a942efe9cfd514a83dab8 (diff) | |
| download | clang-208ff5e8a073de2a5d15cbe03cab8a4c0d935e28.tar.gz clang-208ff5e8a073de2a5d15cbe03cab8a4c0d935e28.tar.bz2 clang-208ff5e8a073de2a5d15cbe03cab8a4c0d935e28.tar.xz | |
Change CodeGenModule to only create ObjC runtime for ObjC files
- Changed CodeGenModule::getObjCRuntime to return reference.
- Added CodeGenModule::hasObjCRuntime predicate.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54645 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
| -rw-r--r-- | lib/CodeGen/CGExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index 68878a2e51..89f552225c 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -744,7 +744,7 @@ LValue CodeGenFunction::EmitObjCIvarRefLValue(const ObjCIvarRefExpr *E) { // a class without recompiling all of the subclasses. If this is the case // then the CGObjCRuntime subclass must return true to LateBoundIvars and // implement the lookup itself. - if (CGM.getObjCRuntime()->LateBoundIVars()) { + if (CGM.getObjCRuntime().LateBoundIVars()) { assert(0 && "FIXME: Implement support for late-bound instance variables"); return LValue(); // Not reached. } |
