Update to go1.25.0
This commit is contained in:
@@ -9,14 +9,20 @@
|
||||
package main
|
||||
|
||||
var (
|
||||
e any
|
||||
ts uint16
|
||||
ga, gb, gc, gd int
|
||||
)
|
||||
|
||||
func moveValuesWithMemoryArg(len int) {
|
||||
for n := 0; n < len; n++ {
|
||||
// Load of e.data is lowed as a MOVDload op, which has a memory
|
||||
// argument. It's moved near where it's used.
|
||||
_ = e != ts // ERROR "MOVDload is moved$" "MOVDaddr is moved$"
|
||||
// Loads of b and d can be delayed until inside the outer "if".
|
||||
a := ga
|
||||
b := gb // ERROR "MOVDload is moved$"
|
||||
c := gc
|
||||
d := gd // ERROR "MOVDload is moved$"
|
||||
if a == c {
|
||||
if b == d {
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user