diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2016-10-29 16:06:40 -0600 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2016-11-11 14:32:38 -0800 |
| commit | f085c198ba2dd95ce46a66ec8f8e6b472c3cca14 (patch) | |
| tree | e9c1cdcd360bf3ffd03d2265484f72d07363a0fd /prog/prio.go | |
| parent | 8b731ed4b705c3049af917f1c01db5b4a0bc59a1 (diff) | |
sys: replace FileoffType with IntType{Kind: IntFileoff}
FileoffType is effectively an int, no need for a separate type.
Also remove fd option from fileoff as it is unused and use story is unclear.
Diffstat (limited to 'prog/prio.go')
| -rw-r--r-- | prog/prio.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/prog/prio.go b/prog/prio.go index b5e4ba666..9b0ace782 100644 --- a/prog/prio.go +++ b/prog/prio.go @@ -94,8 +94,7 @@ func calcStaticPriorities() [][]float32 { noteUsage(0.5, "vma") case *sys.IntType: switch a.Kind { - case sys.IntPlain: - case sys.IntRange: + case sys.IntPlain, sys.IntFileoff, sys.IntRange: case sys.IntSignalno: noteUsage(1.0, "signalno") case sys.IntInaddr: |
