aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineInstrBuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineInstrBuilder.h b/include/llvm/CodeGen/MachineInstrBuilder.h
index 2705565..20a10a5 100644
--- a/include/llvm/CodeGen/MachineInstrBuilder.h
+++ b/include/llvm/CodeGen/MachineInstrBuilder.h
@@ -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());