Commit ec811455 authored by Russ Cox's avatar Russ Cox

s/gins/gbranch/

R=ken
OCL=18713
CL=18713
parent 0eda21a2
......@@ -722,18 +722,16 @@ gmove(Node *f, Node *t)
regalloc(&nod, f->type, f);
gmove(f, &nod);
regalloc(&nod1, t->type, t);
nodconst(&nodc, types[TUINT64], 0);
nodconst(&nodc, types[TUINT64], 0);
gins(ACMPQ, &nod, &nodc);
p1 = pc;
gins(AJLT, N, N);
p1 = gbranch(AJLT, T);
gins(a, &nod, &nod1);
p2 = pc;
gins(AJMP, N, N);
p2 = gbranch(AJMP, T);
patch(p1, pc);
regalloc(&nod2, f->type, N);
regalloc(&nod3, f->type, N);
gmove(&nod, &nod2);
nodconst(&nodc, types[TUINT64], 1);
nodconst(&nodc, types[TUINT64], 1);
gins(ASHRQ, &nodc, &nod2);
gmove(&nod, &nod3);
gins(AANDL, &nodc, &nod3);
......
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