File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ class MCOperand {
61
61
bool isImm () const { return Kind == kImmediate ; }
62
62
bool isSFPImm () const { return Kind == kSFPImmediate ; }
63
63
bool isDFPImm () const { return Kind == kDFPImmediate ; }
64
- bool isFPImm () const { return Kind == kDFPImmediate ; }
65
64
bool isExpr () const { return Kind == kExpr ; }
66
65
bool isInst () const { return Kind == kInst ; }
67
66
@@ -101,10 +100,6 @@ class MCOperand {
101
100
assert (isDFPImm () && " This is not an FP immediate" );
102
101
return FPImmVal;
103
102
}
104
- double getFPImm () const {
105
- assert (isDFPImm () && " This is not an FP immediate" );
106
- return bit_cast<double >(FPImmVal);
107
- }
108
103
109
104
void setDFPImm (uint64_t Val) {
110
105
assert (isDFPImm () && " This is not an FP immediate" );
@@ -162,12 +157,6 @@ class MCOperand {
162
157
Op.FPImmVal = Val;
163
158
return Op;
164
159
}
165
- static MCOperand createFPImm (double Val) {
166
- MCOperand Op;
167
- Op.Kind = kDFPImmediate ;
168
- Op.FPImmVal = bit_cast<uint64_t >(Val);
169
- return Op;
170
- }
171
160
172
161
static MCOperand createExpr (const MCExpr *Val) {
173
162
MCOperand Op;
You can’t perform that action at this time.
0 commit comments