File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ class PPCSubtarget : public PPCGenSubtargetInfo {
191191 }
192192
193193 unsigned getRedZoneSize () const {
194- if (IsPPC64 )
194+ if (isPPC64 () )
195195 // 288 bytes = 18*8 (FPRs) + 18*8 (GPRs, GPR13 reserved)
196196 return 288 ;
197197
@@ -216,8 +216,8 @@ class PPCSubtarget : public PPCGenSubtargetInfo {
216216 bool isSVR4ABI () const { return !isAIXABI (); }
217217 bool isELFv2ABI () const ;
218218
219- bool is64BitELFABI () const { return isSVR4ABI () && IsPPC64 ; }
220- bool is32BitELFABI () const { return isSVR4ABI () && !IsPPC64 ; }
219+ bool is64BitELFABI () const { return isSVR4ABI () && isPPC64 () ; }
220+ bool is32BitELFABI () const { return isSVR4ABI () && !isPPC64 () ; }
221221 bool isUsingPCRelativeCalls () const ;
222222
223223 // / Originally, this function return hasISEL(). Now we always enable it,
@@ -246,7 +246,7 @@ class PPCSubtarget : public PPCGenSubtargetInfo {
246246 // / True if the GV will be accessed via an indirect symbol.
247247 bool isGVIndirectSymbol (const GlobalValue *GV) const ;
248248
249- MVT getScalarIntVT () const { return IsPPC64 ? MVT::i64 : MVT::i32 ; }
249+ MVT getScalarIntVT () const { return isPPC64 () ? MVT::i64 : MVT::i32 ; }
250250
251251 // / Calculates the effective code model for argument GV.
252252 CodeModel::Model getCodeModel (const TargetMachine &TM,
You can’t perform that action at this time.
0 commit comments