Clone target flags when copying mbb operands.

llvm-svn: 74181
This commit is contained in:
Chris Lattner 2009-06-25 17:21:32 +00:00
parent 5defd5655e
commit 6e70895c1e
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ public:
return addGlobalAddress(MO.getGlobal(), MO.getOffset(),
MO.getTargetFlags());
if (MO.isMBB())
return addMBB(MO.getMBB());
return addMBB(MO.getMBB(), MO.getTargetFlags());
if (MO.isCPI())
return addConstantPoolIndex(MO.getIndex(), MO.getOffset(),
MO.getTargetFlags());