summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-09-08 01:44:27 +0000
committerJohn McCall <rjmccall@apple.com>2010-09-08 01:44:27 +0000
commit68ff03728a5036dbad626a93144873a1470d27fd (patch)
tree7c3a6081c18495776e7f242038ee317cc606041f /clang/lib/CodeGen/CodeGenFunction.h
parent64d842ec726ffba3229360822782a7f4704cb7a2 (diff)
downloadbcm5719-llvm-68ff03728a5036dbad626a93144873a1470d27fd.tar.gz
bcm5719-llvm-68ff03728a5036dbad626a93144873a1470d27fd.zip
Implement ARM static local initialization guards, which are more compact than
Itanium guards and use a slightly different compiled-in API. llvm-svn: 113330
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 4f0420536ad..37795ed5db7 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -1565,11 +1565,6 @@ public:
llvm::GlobalVariable *GV);
- /// EmitStaticCXXBlockVarDeclInit - Create the initializer for a C++ runtime
- /// initialized static block var decl.
- void EmitStaticCXXBlockVarDeclInit(const VarDecl &D,
- llvm::GlobalVariable *GV);
-
/// EmitCXXGlobalVarDeclInit - Create the initializer for a C++
/// variable with global storage.
void EmitCXXGlobalVarDeclInit(const VarDecl &D, llvm::Constant *DeclPtr);
@@ -1579,6 +1574,8 @@ public:
void EmitCXXGlobalDtorRegistration(llvm::Constant *DtorFn,
llvm::Constant *DeclPtr);
+ void EmitCXXStaticLocalInit(const VarDecl &D, llvm::GlobalVariable *DeclPtr);
+
/// GenerateCXXGlobalInitFunc - Generates code for initializing global
/// variables.
void GenerateCXXGlobalInitFunc(llvm::Function *Fn,
OpenPOWER on IntegriCloud