summaryrefslogtreecommitdiff
path: root/lib/Analysis/IPA/FindUnsafePointerTypes.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-19 21:34:28 +0000
committerChris Lattner <sabre@nondot.org>2003-10-19 21:34:28 +0000
commit3b237fcd385a734b49bb54893ce256ba181e36f9 (patch)
treee2cbde4832ffbd2160bea61006af1cbe415e3604 /lib/Analysis/IPA/FindUnsafePointerTypes.cpp
parent4661dc6a6abc9ef22e674fe4951a715befd4e072 (diff)
downloadllvm-3b237fcd385a734b49bb54893ce256ba181e36f9.tar.gz
llvm-3b237fcd385a734b49bb54893ce256ba181e36f9.tar.bz2
llvm-3b237fcd385a734b49bb54893ce256ba181e36f9.tar.xz
Change the Opcode enum for PHI nodes from "Instruction::PHINode" to "Instruction::PHI" to be more consistent with the other instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9269 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/IPA/FindUnsafePointerTypes.cpp')
-rw-r--r--lib/Analysis/IPA/FindUnsafePointerTypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/IPA/FindUnsafePointerTypes.cpp b/lib/Analysis/IPA/FindUnsafePointerTypes.cpp
index 3f28a6fb96..3897ec8488 100644
--- a/lib/Analysis/IPA/FindUnsafePointerTypes.cpp
+++ b/lib/Analysis/IPA/FindUnsafePointerTypes.cpp
@@ -43,7 +43,7 @@ static inline bool isSafeInstruction(const Instruction *I) {
case Instruction::GetElementPtr:
case Instruction::Call:
case Instruction::Invoke:
- case Instruction::PHINode:
+ case Instruction::PHI:
return true;
}
return false;