aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-04-29 03:08:32 +0000
committerNico Weber <nicolasweber@gmx.de>2015-04-29 03:08:32 +0000
commitea721b64df59822d7d0d26a8a83d6cba30e3f5d7 (patch)
tree785830d5f717bd570571b71c0c71eccf419ed06d /clang/lib/CodeGen/CodeGenFunction.h
parentccc8c2477ac6f7ae4122ea19f652af57ed24d329 (diff)
downloadllvm-ea721b64df59822d7d0d26a8a83d6cba30e3f5d7.zip
llvm-ea721b64df59822d7d0d26a8a83d6cba30e3f5d7.tar.gz
llvm-ea721b64df59822d7d0d26a8a83d6cba30e3f5d7.tar.bz2
Revert r236052, it caused linker errors when building 32-bit applications.
llvm-svn: 236082
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 8a007d5..7eca347 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -310,13 +310,7 @@ public:
/// write the current selector value into this alloca.
llvm::AllocaInst *EHSelectorSlot;
- /// Entering and leaving an SEH __try / __finally scope causes stores to this
- /// slot.
- llvm::Value *ChildAbnormalTerminationSlot;
-
- /// The SEH __abnormal_termination() intrinsic lowers down to loads from this
- /// slot from a parent function.
- llvm::Value *AbnormalTerminationSlot;
+ llvm::AllocaInst *AbnormalTerminationSlot;
/// The implicit parameter to SEH filter functions of type
/// 'EXCEPTION_POINTERS*'.
@@ -2039,16 +2033,8 @@ public:
/// Scan the outlined statement for captures from the parent function. For
/// each capture, mark the capture as escaped and emit a call to
/// llvm.framerecover. Insert the framerecover result into the LocalDeclMap.
- void EmitCapturedLocals(CodeGenFunction &ParentCGF, const Stmt *OutlinedStmt);
-
- /// Recovers the address of a local in a parent function. ParentVar is the
- /// address of the variable used in the immediate parent function. It can
- /// either be an alloca or a call to llvm.framerecover if there are nested
- /// outlined functions. ParentFP is the frame pointer of the outermost parent
- /// frame.
- llvm::Value *recoverAddrOfEscapedLocal(CodeGenFunction &ParentCGF,
- llvm::Value *ParentVar,
- llvm::Value *ParentFP);
+ void EmitCapturedLocals(CodeGenFunction &ParentCGF, const Stmt *OutlinedStmt,
+ llvm::Value *ParentFP);
void EmitCXXForRangeStmt(const CXXForRangeStmt &S,
ArrayRef<const Attr *> Attrs = None);