Home | History | Annotate | Download | only in s390x
      1 // Copyright 2016 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 s390x
      6 
      7 import (
      8 	"cmd/compile/internal/gc"
      9 	"cmd/internal/obj/s390x"
     10 )
     11 
     12 func Init() {
     13 	gc.Thearch.LinkArch = &s390x.Links390x
     14 	gc.Thearch.REGSP = s390x.REGSP
     15 	gc.Thearch.MAXWIDTH = 1 << 50
     16 
     17 	gc.Thearch.Defframe = defframe
     18 	gc.Thearch.Proginfo = proginfo
     19 
     20 	gc.Thearch.SSAMarkMoves = ssaMarkMoves
     21 	gc.Thearch.SSAGenValue = ssaGenValue
     22 	gc.Thearch.SSAGenBlock = ssaGenBlock
     23 }
     24