Commit b72c7e94 authored by Russ Cox's avatar Russ Cox

cmd/6c: fix probable code gen bug

This is a pointer being copied; MOVL can't possibly be right.

R=ken2
CC=golang-dev
https://golang.org/cl/5999043
parent 30bc5d7b
......@@ -1672,7 +1672,7 @@ copy:
regsalloc(&nod2, nn);
nn->type = t;
gins(AMOVL, &nod1, &nod2);
gins(AMOVQ, &nod1, &nod2);
regfree(&nod1);
nod2.type = typ(TIND, t);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment