mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 02:03:11 +00:00
Clean up.
llvm-svn: 29137
This commit is contained in:
parent
5c489bce2c
commit
a140e5e06c
@ -49,7 +49,10 @@ void CodeEmitterGen::reverseBits(std::vector<Record*> &Insts) {
|
||||
}
|
||||
|
||||
|
||||
int CodeEmitterGen::getVariableBit(const std::string &VarName, BitsInit *BI, int bit){
|
||||
// If the VarBitInit at position 'bit' matches the specified variable then
|
||||
// return the variable bit position. Otherwise return -1.
|
||||
int CodeEmitterGen::getVariableBit(const std::string &VarName,
|
||||
BitsInit *BI, int bit) {
|
||||
if (VarBitInit *VBI = dynamic_cast<VarBitInit*>(BI->getBit(bit))) {
|
||||
TypedInit *TI = VBI->getVariable();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user