Home | History | Annotate | Download | only in arm64
      1 // Copyright 2009 The Go Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style
      3 // license that can be found in the LICENSE file.
      4 
      5 package arm64
      6 
      7 import (
      8 	"cmd/compile/internal/gc"
      9 	"cmd/compile/internal/ssa"
     10 	"cmd/internal/obj/arm64"
     11 )
     12 
     13 func Init() {
     14 	gc.Thearch.LinkArch = &arm64.Linkarm64
     15 	gc.Thearch.REGSP = arm64.REGSP
     16 	gc.Thearch.MAXWIDTH = 1 << 50
     17 
     18 	gc.Thearch.Defframe = defframe
     19 	gc.Thearch.Proginfo = proginfo
     20 
     21 	gc.Thearch.SSAMarkMoves = func(s *gc.SSAGenState, b *ssa.Block) {}
     22 	gc.Thearch.SSAGenValue = ssaGenValue
     23 	gc.Thearch.SSAGenBlock = ssaGenBlock
     24 }
     25