mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-01 15:40:46 +00:00
fix build with non-buggy compilers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36621 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a7c49aac98
commit
60ce9b5a01
@ -571,7 +571,7 @@ static void WriteInstruction(const Instruction &I, ValueEnumerator &VE,
|
||||
for (unsigned i = 0, e = I.getNumOperands(); i != e; ++i)
|
||||
Vals.push_back(VE.getValueID(I.getOperand(i)));
|
||||
break;
|
||||
case Instruction::Invoke:
|
||||
case Instruction::Invoke: {
|
||||
Code = bitc::FUNC_CODE_INST_INVOKE;
|
||||
// FIXME: param attrs
|
||||
Vals.push_back(VE.getTypeID(I.getOperand(0)->getType()));
|
||||
@ -596,6 +596,7 @@ static void WriteInstruction(const Instruction &I, ValueEnumerator &VE,
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case Instruction::Unwind:
|
||||
Code = bitc::FUNC_CODE_INST_UNWIND;
|
||||
break;
|
||||
@ -668,8 +669,8 @@ static void WriteInstruction(const Instruction &I, ValueEnumerator &VE,
|
||||
Vals.push_back(VE.getValueID(I.getOperand(i)));
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case Instruction::VAArg:
|
||||
Code = bitc::FUNC_CODE_INST_VAARG;
|
||||
|
Loading…
Reference in New Issue
Block a user