diff options
author | tentzen <tentzen@microsoft.com> | 2022-12-02 02:42:43 -0800 |
---|---|---|
committer | tentzen <tentzen@microsoft.com> | 2022-12-02 02:44:18 -0800 |
commit | db6a979ae82410e42430e47afa488936ba8e3025 (patch) | |
tree | cb35e4007402d2e8590ace504cee3b8f21d5e489 /llvm/lib/IR/BasicBlock.cpp | |
parent | c8e15afa4caf74f0d8281ca3e44674f1f6c1bc52 (diff) | |
download | llvm-db6a979ae82410e42430e47afa488936ba8e3025.zip llvm-db6a979ae82410e42430e47afa488936ba8e3025.tar.gz llvm-db6a979ae82410e42430e47afa488936ba8e3025.tar.bz2 |
Revert "[Windows SEH]: HARDWARE EXCEPTION HANDLING (MSVC -EHa) - Part 2"
This reverts commit 1a949c871ab4a6b6d792849d3e8c0fa6958d27f5.
Diffstat (limited to 'llvm/lib/IR/BasicBlock.cpp')
-rw-r--r-- | llvm/lib/IR/BasicBlock.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/IR/BasicBlock.cpp b/llvm/lib/IR/BasicBlock.cpp index e461628..16addda 100644 --- a/llvm/lib/IR/BasicBlock.cpp +++ b/llvm/lib/IR/BasicBlock.cpp @@ -206,15 +206,6 @@ const CallInst *BasicBlock::getPostdominatingDeoptimizeCall() const { return BB->getTerminatingDeoptimizeCall(); } -const Instruction *BasicBlock::getFirstMayFaultInst() const { - if (InstList.empty()) - return nullptr; - for (const Instruction &I : *this) - if (isa<LoadInst>(I) || isa<StoreInst>(I) || isa<CallBase>(I)) - return &I; - return nullptr; -} - const Instruction* BasicBlock::getFirstNonPHI() const { for (const Instruction &I : *this) if (!isa<PHINode>(I)) |