File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ class GlobalValueSummary {
312312 StringRef modulePath () const { return ModulePath; }
313313
314314 // / Get the flags for this GlobalValue (see \p struct GVFlags).
315- GVFlags flags () { return Flags; }
315+ GVFlags flags () const { return Flags; }
316316
317317 // / Return linkage type recorded for this global value.
318318 GlobalValue::LinkageTypes linkage () const {
@@ -516,7 +516,7 @@ class FunctionSummary : public GlobalValueSummary {
516516 }
517517
518518 // / Get function attribute flags.
519- FFlags & fflags () { return FunFlags; }
519+ FFlags fflags () const { return FunFlags; }
520520
521521 // / Get the instruction count recorded for this function.
522522 unsigned instCount () const { return InstCount; }
You can’t perform that action at this time.
0 commit comments