Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.166
 
1.167
 
MAIN:ragge:20120908160154
 
local.c
_>12161216 #endif
 12171217 }
 12181218 
<>1219 -NODE *
 1220 -i386_builtin_return_address(const struct bitable *bt, NODE *a)
 1221 -{
 1222 -        int nframes;
 1223 -        NODE *f;
 1224 -
 1225 -        if (a == NULL || a->n_op != ICON)
 1226 -                goto bad;
 1227 -
 1228 -        nframes = (int)a->n_lval;
 1229 -
 1230 -        tfree(a);
 1231 -
 1232 -        f = block(REG, NIL, NIL, PTR+VOID, 0, 0);
 1233 -        regno(f) = FPREG;
 1234 -
 1235 -        while (nframes--)
 1236 -                f = block(UMUL, f, NIL, PTR+VOID, 0, 0);
 1237 -
 1238 -        f = block(PLUS, f, bcon(4), INCREF(PTR+VOID), 0, 0);
 1239 -        f = buildtree(UMUL, f, NIL);
 1240 -
 1241 -        return f;
 1242 -bad:
 1243 -        uerror("bad argument to __builtin_return_address");
 1244 -        return bcon(0);
 1245 -}
 1246 -
 1247 -NODE *
 1248 -i386_builtin_frame_address(const struct bitable *bt, NODE *a)
 1249 -{
 1250 -        int nframes;
 1251 -        NODE *f;
 1252 -
 1253 -        if (a == NULL || a->n_op != ICON)
 1254 -                goto bad;
 1255 -
 1256 -        nframes = (int)a->n_lval;
 1257 -
 1258 -        tfree(a);
 1259 -
 1260 -        f = block(REG, NIL, NIL, PTR+VOID, 0, 0);
 1261 -        regno(f) = FPREG;
 1262 -
 1263 -        while (nframes--)
 1264 -                f = block(UMUL, f, NIL, PTR+VOID, 0, 0);
 1265 -
 1266 -        return f;
 1267 -bad:
 1268 -        uerror("bad argument to __builtin_frame_address");
 1269 -        return bcon(0);
 1270 -}
 1271 -
<_12721219 /*
 12731220  *  Postfix external functions with the arguments size.
 12741221  */
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-18 22:01 +0100