/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/codegen/addrcalc.go
14 строк
324 B
Russ Cox
test/codegen: simplify asmcheck pattern matching
29 окт 2025, 23:55
29 окт 2025, 23:55
915c183
Код
Авторство
О чём код?
// asmcheck // Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package codegen // Make sure we use ADDQ instead of LEAQ when we can. func f(p *[4][2]int, x int) *int { // amd64:"ADDQ" -"LEAQ" return &p[x][0] }