File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
lib/Target/CSKY/AsmParser Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -134,11 +134,6 @@ class MCExpr {
134
134
MCValue &);
135
135
};
136
136
137
- inline raw_ostream &operator <<(raw_ostream &OS, const MCExpr &E) {
138
- E.print (OS, nullptr );
139
- return OS;
140
- }
141
-
142
137
// // Represent a constant integer expression.
143
138
class MCConstantExpr : public MCExpr {
144
139
int64_t Value;
Original file line number Diff line number Diff line change @@ -441,10 +441,10 @@ struct CSKYOperand : public MCParsedAsmOperand {
441
441
442
442
switch (Kind) {
443
443
case CPOP:
444
- OS << *getConstpoolOp ();
444
+ MAI. printExpr (OS, *getConstpoolOp () );
445
445
break ;
446
446
case Immediate:
447
- OS << *getImm ();
447
+ MAI. printExpr (OS, *getImm () );
448
448
break ;
449
449
case KindTy::Register:
450
450
OS << " <register " << RegName (getReg ()) << " >" ;
You can’t perform that action at this time.
0 commit comments