ARM label operands can be quoted.
[oota-llvm.git] / lib / CodeGen / EdgeBundles.cpp
index 646e01407a4f632bbf25a4727173ce8eb0ac0d99..a7aba89b87f3958b179c65810bed11588431a40a 100644 (file)
@@ -39,7 +39,7 @@ void EdgeBundles::getAnalysisUsage(AnalysisUsage &AU) const {
 bool EdgeBundles::runOnMachineFunction(MachineFunction &mf) {
   MF = &mf;
   EC.clear();
-  EC.grow(2 * MF->size());
+  EC.grow(2 * MF->getNumBlockIDs());
 
   for (MachineFunction::const_iterator I = MF->begin(), E = MF->end(); I != E;
        ++I) {