ci: fix the `./v -g -autofree -o v2 cmd/v` step
parent
fafb035fb5
commit
ae401bd930
|
@ -1826,11 +1826,12 @@ fn (mut g Gen) asm_arg(arg ast.AsmArg, stmt ast.AsmStmt) {
|
||||||
ast.AsmAlias {
|
ast.AsmAlias {
|
||||||
name := arg.name
|
name := arg.name
|
||||||
if name in stmt.local_labels || name in stmt.global_labels {
|
if name in stmt.local_labels || name in stmt.global_labels {
|
||||||
g.write(if name in stmt.local_labels {
|
asm_formatted_name := if name in stmt.local_labels {
|
||||||
name
|
name
|
||||||
} else { // val in stmt.global_labels
|
} else { // val in stmt.global_labels
|
||||||
'%l[$name]'
|
'%l[$name]'
|
||||||
})
|
}
|
||||||
|
g.write(asm_formatted_name)
|
||||||
} else {
|
} else {
|
||||||
g.write('%[$name]')
|
g.write('%[$name]')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue