projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DebugInfo: Drop rest of DIDescriptor subclasses
[oota-llvm.git]
/
include
/
llvm
/
CodeGen
/
MachineInstrBuilder.h
diff --git
a/include/llvm/CodeGen/MachineInstrBuilder.h
b/include/llvm/CodeGen/MachineInstrBuilder.h
index 0574ebc40ce73f1847371d232020e2aab13f37df..8825452b251b8ee9a3d6bfeb2c2d38aa25682f4e 100644
(file)
--- a/
include/llvm/CodeGen/MachineInstrBuilder.h
+++ b/
include/llvm/CodeGen/MachineInstrBuilder.h
@@
-176,7
+176,7
@@
public:
MI->addOperand(*MF, MachineOperand::CreateMetadata(MD));
assert((MI->isDebugValue() ? static_cast<bool>(MI->getDebugVariable())
: true) &&
MI->addOperand(*MF, MachineOperand::CreateMetadata(MD));
assert((MI->isDebugValue() ? static_cast<bool>(MI->getDebugVariable())
: true) &&
- "first MDNode argument of a DBG_VALUE not a
DIV
ariable");
+ "first MDNode argument of a DBG_VALUE not a
v
ariable");
return *this;
}
return *this;
}
@@
-356,8
+356,8
@@
inline MachineInstrBuilder BuildMI(MachineFunction &MF, DebugLoc DL,
const MCInstrDesc &MCID, bool IsIndirect,
unsigned Reg, unsigned Offset,
const MDNode *Variable, const MDNode *Expr) {
const MCInstrDesc &MCID, bool IsIndirect,
unsigned Reg, unsigned Offset,
const MDNode *Variable, const MDNode *Expr) {
- assert(isa<MDLocalVariable>(Variable) && "not a
DIV
ariable");
- assert(cast<MDExpression>(Expr)->isValid() && "not a
DIE
xpression");
+ assert(isa<MDLocalVariable>(Variable) && "not a
v
ariable");
+ assert(cast<MDExpression>(Expr)->isValid() && "not a
n e
xpression");
assert(cast<MDLocalVariable>(Variable)->isValidLocationForIntrinsic(DL) &&
"Expected inlined-at fields to agree");
if (IsIndirect)
assert(cast<MDLocalVariable>(Variable)->isValidLocationForIntrinsic(DL) &&
"Expected inlined-at fields to agree");
if (IsIndirect)
@@
-385,8
+385,8
@@
inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB,
const MCInstrDesc &MCID, bool IsIndirect,
unsigned Reg, unsigned Offset,
const MDNode *Variable, const MDNode *Expr) {
const MCInstrDesc &MCID, bool IsIndirect,
unsigned Reg, unsigned Offset,
const MDNode *Variable, const MDNode *Expr) {
- assert(isa<MDLocalVariable>(Variable) && "not a
DIV
ariable");
- assert(cast<MDExpression>(Expr)->isValid() && "not a
DIE
xpression");
+ assert(isa<MDLocalVariable>(Variable) && "not a
v
ariable");
+ assert(cast<MDExpression>(Expr)->isValid() && "not a
n e
xpression");
MachineFunction &MF = *BB.getParent();
MachineInstr *MI =
BuildMI(MF, DL, MCID, IsIndirect, Reg, Offset, Variable, Expr);
MachineFunction &MF = *BB.getParent();
MachineInstr *MI =
BuildMI(MF, DL, MCID, IsIndirect, Reg, Offset, Variable, Expr);