ref: bb963053b66e9f3f8a62bbba26deb6028b174ba3
dir: /cc2/optm.c/
#include "arch.h"
#include "cc2.h"
Node *
optm(Node *np)
{
Node *dst;
switch (np->op) {
case OJMP:
case OBRANCH:
dst = np->u.sym->u.stmt;
if (dst->op == OJMP)
np->u.sym = dst->u.sym;
break;
}
return np;
}