mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
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
This commit is contained in:
@@ -25,7 +25,7 @@ TerminatorInst::TerminatorInst(Instruction::TermOps iType, Instruction *IB)
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
PHINode::PHINode(const PHINode &PN)
|
||||
: Instruction(PN.getType(), Instruction::PHINode) {
|
||||
: Instruction(PN.getType(), Instruction::PHI) {
|
||||
Operands.reserve(PN.Operands.size());
|
||||
for (unsigned i = 0; i < PN.Operands.size(); i+=2) {
|
||||
Operands.push_back(Use(PN.Operands[i], this));
|
||||
|
Reference in New Issue
Block a user