projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix assert when inlining a constantexpr addrspacecast
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
MipsInstrInfo.h
diff --git
a/lib/Target/Mips/MipsInstrInfo.h
b/lib/Target/Mips/MipsInstrInfo.h
index 45895355e1a54db0fc5a54e8e9affe15b47d184b..08efc350904665c1a47d22666a053bb708f96e05 100644
(file)
--- a/
lib/Target/Mips/MipsInstrInfo.h
+++ b/
lib/Target/Mips/MipsInstrInfo.h
@@
-59,8
+59,7
@@
public:
unsigned RemoveBranch(MachineBasicBlock &MBB) const override;
unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
unsigned RemoveBranch(MachineBasicBlock &MBB) const override;
unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
- MachineBasicBlock *FBB,
- const SmallVectorImpl<MachineOperand> &Cond,
+ MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
DebugLoc DL) const override;
bool
DebugLoc DL) const override;
bool
@@
-140,7
+139,7
@@
private:
SmallVectorImpl<MachineOperand> &Cond) const;
void BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, DebugLoc DL,
SmallVectorImpl<MachineOperand> &Cond) const;
void BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, DebugLoc DL,
-
const SmallVectorImpl<MachineOperand>&
Cond) const;
+
ArrayRef<MachineOperand>
Cond) const;
};
/// Create MipsInstrInfo objects.
};
/// Create MipsInstrInfo objects.