diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2023-07-26 19:03:47 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2023-07-26 19:04:23 +0000 |
commit | 7fa27ce4a07f19b07799a767fc29416f3b625afb (patch) | |
tree | 27825c83636c4de341eb09a74f49f5d38a15d165 /llvm/lib/CodeGen/SjLjEHPrepare.cpp | |
parent | e3b557809604d036af6e00c60f012c2025b59a5e (diff) | |
download | src-7fa27ce4a07f19b07799a767fc29416f3b625afb.tar.gz src-7fa27ce4a07f19b07799a767fc29416f3b625afb.zip |
Vendor import of llvm-project main llvmorg-17-init-19304-gd0b54bb50e51,vendor/llvm-project/llvmorg-17-init-19304-gd0b54bb50e51
the last commit before the upstream release/17.x branch was created.
Diffstat (limited to 'llvm/lib/CodeGen/SjLjEHPrepare.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SjLjEHPrepare.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/llvm/lib/CodeGen/SjLjEHPrepare.cpp b/llvm/lib/CodeGen/SjLjEHPrepare.cpp index 3fed707a9eb1..d09953e76a80 100644 --- a/llvm/lib/CodeGen/SjLjEHPrepare.cpp +++ b/llvm/lib/CodeGen/SjLjEHPrepare.cpp @@ -38,21 +38,21 @@ STATISTIC(NumSpilled, "Number of registers live across unwind edges"); namespace { class SjLjEHPrepare : public FunctionPass { - IntegerType *DataTy; - Type *doubleUnderDataTy; - Type *doubleUnderJBufTy; - Type *FunctionContextTy; + IntegerType *DataTy = nullptr; + Type *doubleUnderDataTy = nullptr; + Type *doubleUnderJBufTy = nullptr; + Type *FunctionContextTy = nullptr; FunctionCallee RegisterFn; FunctionCallee UnregisterFn; - Function *BuiltinSetupDispatchFn; - Function *FrameAddrFn; - Function *StackAddrFn; - Function *StackRestoreFn; - Function *LSDAAddrFn; - Function *CallSiteFn; - Function *FuncCtxFn; - AllocaInst *FuncCtx; - const TargetMachine *TM; + Function *BuiltinSetupDispatchFn = nullptr; + Function *FrameAddrFn = nullptr; + Function *StackAddrFn = nullptr; + Function *StackRestoreFn = nullptr; + Function *LSDAAddrFn = nullptr; + Function *CallSiteFn = nullptr; + Function *FuncCtxFn = nullptr; + AllocaInst *FuncCtx = nullptr; + const TargetMachine *TM = nullptr; public: static char ID; // Pass identification, replacement for typeid |