diff options
Diffstat (limited to 'src/cmd/compile/internal/ssa/regalloc.go')
| -rw-r--r-- | src/cmd/compile/internal/ssa/regalloc.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/compile/internal/ssa/regalloc.go b/src/cmd/compile/internal/ssa/regalloc.go index 7361e1392b..08b4d3aca1 100644 --- a/src/cmd/compile/internal/ssa/regalloc.go +++ b/src/cmd/compile/internal/ssa/regalloc.go @@ -114,7 +114,7 @@ package ssa import ( - "cmd/internal/obj" + "cmd/internal/objabi" "cmd/internal/src" "fmt" "unsafe" @@ -552,7 +552,7 @@ func (s *regAllocState) init(f *Func) { // Leaf functions don't save/restore the link register. s.allocatable &^= 1 << uint(s.f.Config.LinkReg) } - if s.f.Config.arch == "arm" && obj.GOARM == 5 { + if s.f.Config.arch == "arm" && objabi.GOARM == 5 { // On ARMv5 we insert softfloat calls at each FP instruction. // This clobbers LR almost everywhere. Disable allocating LR // on ARMv5. |
