Add the private linkage.
[oota-llvm.git] / lib / Target / PowerPC / PPCBranchSelector.cpp
index 2fc5b3c025a15864781cbcde7824cf848101f023..add37e11f3fcffbe63354a1a46f7babfa8de4bb9 100644 (file)
@@ -103,7 +103,7 @@ bool PPCBSel::runOnMachineFunction(MachineFunction &Fn) {
       unsigned MBBStartOffset = 0;
       for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
            I != E; ++I) {
-        if (I->getOpcode() != PPC::BCC || I->getOperand(2).isImmediate()) {
+        if (I->getOpcode() != PPC::BCC || I->getOperand(2).isImm()) {
           MBBStartOffset += TII->GetInstSizeInBytes(I);
           continue;
         }