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 {
312
312
StringRef modulePath () const { return ModulePath; }
313
313
314
314
// / Get the flags for this GlobalValue (see \p struct GVFlags).
315
- GVFlags flags () { return Flags; }
315
+ GVFlags flags () const { return Flags; }
316
316
317
317
// / Return linkage type recorded for this global value.
318
318
GlobalValue::LinkageTypes linkage () const {
@@ -516,7 +516,7 @@ class FunctionSummary : public GlobalValueSummary {
516
516
}
517
517
518
518
// / Get function attribute flags.
519
- FFlags & fflags () { return FunFlags; }
519
+ FFlags fflags () const { return FunFlags; }
520
520
521
521
// / Get the instruction count recorded for this function.
522
522
unsigned instCount () const { return InstCount; }
You can’t perform that action at this time.
0 commit comments