mirror of
https://github.com/golang/go
synced 2024-11-21 16:24:40 -07:00
cmd/internal/ssa: close input rule files
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
4f0408a3a2
commit
9aa4365b9d
@ -102,7 +102,7 @@ func genRulesSuffix(arch arch, suff string) {
|
||||
// Some architectures have bonus rules files that others don't share. That's fine.
|
||||
return
|
||||
}
|
||||
|
||||
defer text.Close()
|
||||
// oprules contains a list of rules for each block and opcode
|
||||
blockrules := map[string][]Rule{}
|
||||
oprules := map[string][]Rule{}
|
||||
|
Loading…
Reference in New Issue
Block a user