diff options
| author | John McCall <rjmccall@apple.com> | 2010-03-03 04:15:11 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-03-03 04:15:11 +0000 |
| commit | d4f4b7f5eeff451e1b654a3356dd58feb5e38362 (patch) | |
| tree | 02696d1e68ceacc20e965028046ad788a4dcc353 /clang/lib/CodeGen/CodeGenFunction.h | |
| parent | 1950a11939b31892a97ca93811eb75fdc3835cc5 (diff) | |
| download | bcm5719-llvm-d4f4b7f5eeff451e1b654a3356dd58feb5e38362.tar.gz bcm5719-llvm-d4f4b7f5eeff451e1b654a3356dd58feb5e38362.zip | |
Add proper target hooks for __builtin_extract_return_address and
__builtin_frob_return_address. The implementations for both are
still trivial in the default case.
llvm-svn: 97638
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 64d5cbdb01a..d582c0def34 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -55,6 +55,7 @@ namespace clang { class ObjCImplementationDecl; class ObjCPropertyImplDecl; class TargetInfo; + class TargetCodeGenInfo; class VarDecl; class ObjCForCollectionStmt; class ObjCAtTryStmt; @@ -62,7 +63,6 @@ namespace clang { class ObjCAtSynchronizedStmt; namespace CodeGen { - class CodeGenModule; class CodeGenTypes; class CGDebugInfo; class CGFunctionInfo; @@ -1338,6 +1338,10 @@ private: ArgType)); } } + + const TargetCodeGenInfo &getTargetHooks() const { + return CGM.getTargetCodeGenInfo(); + } }; |

