github.com/tidwall/go@v0.0.0-20170415222209-6694a6888b7d/src/cmd/compile/internal/arm64/galign.go (about) 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(arch *gc.Arch) { 14 arch.LinkArch = &arm64.Linkarm64 15 arch.REGSP = arm64.REGSP 16 arch.MAXWIDTH = 1 << 50 17 18 arch.Defframe = defframe 19 arch.Ginsnop = ginsnop 20 21 arch.SSAMarkMoves = func(s *gc.SSAGenState, b *ssa.Block) {} 22 arch.SSAGenValue = ssaGenValue 23 arch.SSAGenBlock = ssaGenBlock 24 }