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 arm 6 7 import ( 8 "cmd/compile/internal/gc" 9 "cmd/compile/internal/ssa" 10 "cmd/internal/obj/arm" 11 ) 12 13 func Init() { 14 gc.Thearch.LinkArch = &arm.Linkarm 15 gc.Thearch.REGSP = arm.REGSP 16 gc.Thearch.MAXWIDTH = (1 << 32) - 1 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