@@ -22,8 +22,6 @@ func TestBasic(t *testing.T) {
|
||||
AssertPrintsLines(t, ctx, printer.NewGoAsm, []string{
|
||||
"// Code generated by avo. DO NOT EDIT.",
|
||||
"",
|
||||
"#include \"textflag.h\"",
|
||||
"",
|
||||
"// func add(x uint64, y uint64) uint64",
|
||||
"TEXT ·add(SB), $0-24",
|
||||
"\tMOVQ\tx(FP), AX",
|
||||
@@ -55,8 +53,6 @@ func TestTextDecl(t *testing.T) {
|
||||
AssertPrintsLines(t, ctx, printer.NewGoAsm, []string{
|
||||
"// Code generated by avo. DO NOT EDIT.",
|
||||
"",
|
||||
"#include \"textflag.h\"",
|
||||
"",
|
||||
"// func noargs()",
|
||||
"TEXT ·noargs(SB), $16", // expect only the frame size
|
||||
"\tRET",
|
||||
|
||||
Reference in New Issue
Block a user