ast,build: add Attributes fields to Function and Global

Updates #2
This commit is contained in:
Michael McLoughlin
2018-12-30 23:35:49 -08:00
parent 5d270d8d76
commit e364d6398e
17 changed files with 86 additions and 50 deletions

View File

@@ -3,7 +3,7 @@
#include "textflag.h"
// func Dot(x []float32, y []float32) float32
TEXT ·Dot(SB), 0, $0-52
TEXT ·Dot(SB), $0-52
MOVQ x_base(FP), AX
MOVQ y_base+24(FP), CX
MOVQ x_len+8(FP), DX