aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/BasicBlock.cpp
diff options
context:
space:
mode:
authortentzen <tentzen@microsoft.com>2022-12-02 02:42:43 -0800
committertentzen <tentzen@microsoft.com>2022-12-02 02:44:18 -0800
commitdb6a979ae82410e42430e47afa488936ba8e3025 (patch)
treecb35e4007402d2e8590ace504cee3b8f21d5e489 /llvm/lib/IR/BasicBlock.cpp
parentc8e15afa4caf74f0d8281ca3e44674f1f6c1bc52 (diff)
downloadllvm-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.cpp9
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))