diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2012-01-31 18:59:20 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2012-01-31 18:59:20 +0000 |
commit | 29254f4dd114fe2dd5c4e7a261ebea941973ad3d (patch) | |
tree | f7c4f34c3c821063f14a7b1402b354d10cb72ff5 /lib/CodeGen/CodeGenModule.cpp | |
parent | 2831092e8063c01aa307bc62ff5e9eb8db2ceedc (diff) |
Support @compatibility_alias at run time (GNUstep Runtime)
Patch by Niels Grewe!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 196ab5dd39..576209f366 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -2421,7 +2421,7 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) { break; } case Decl::ObjCCompatibleAlias: - // compatibility-alias is a directive and has no code gen. + ObjCRuntime->RegisterAlias(cast<ObjCCompatibleAliasDecl>(D)); break; case Decl::LinkageSpec: |