diff options
Diffstat (limited to 'test/codegen')
| -rw-r--r-- | test/codegen/comparisons.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/codegen/comparisons.go b/test/codegen/comparisons.go index bcce21e404..0b550adc05 100644 --- a/test/codegen/comparisons.go +++ b/test/codegen/comparisons.go @@ -660,13 +660,13 @@ func equalVarString8(a string) bool { return a[:8] == b } -func equalVarStringNoSpill(a,b string) bool { +func equalVarStringNoSpill(a, b string) bool { s := string("ZZZZZZZZZ") // arm64:".*memequal" memeq1 := a[:9] == s // arm64:-".*" memeq2 := s == a[:9] - // arm64:-"MOVB\tR0,.*SP",".*memequal" + // arm64:-"MOVB R0,.*SP",".*memequal" memeq3 := s == b[:9] return memeq1 && memeq2 && memeq3 } |
