diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-25 17:21:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-25 17:21:32 +0000 |
commit | b340468836dfd35bd8c40e3151fb5a28a1a386ff (patch) | |
tree | 6dc9d93c66caa59c7760b925e25810d1b8368c65 /include | |
parent | ef31ae3dfca1e5a2262f35d7b71419ac69ca1411 (diff) | |
download | external_llvm-b340468836dfd35bd8c40e3151fb5a28a1a386ff.zip external_llvm-b340468836dfd35bd8c40e3151fb5a28a1a386ff.tar.gz external_llvm-b340468836dfd35bd8c40e3151fb5a28a1a386ff.tar.bz2 |
Clone target flags when copying mbb operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74181 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/MachineInstrBuilder.h | 2 |
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()); |