Change 'stratum' to the friendlier term 'layer'.

This commit is contained in:
Graydon Hoare 2010-12-03 12:15:32 -08:00
parent 7bdb93266d
commit a98b2ebb4a
14 changed files with 105 additions and 105 deletions

View file

@ -92,7 +92,7 @@ tag token {
/* Opacity keywords */
ABS;
/* Stratum keywords */
/* Layer keywords */
STATE;
GC;
@ -258,7 +258,7 @@ fn to_str(token t) -> str {
/* Opacity keywords */
case (ABS) { ret "abs"; }
/* Stratum keywords */
/* Layer keywords */
case (STATE) { ret "state"; }
case (GC) { ret "gc"; }

View file

@ -730,7 +730,7 @@ fn drop_ty(@block_ctxt cx,
fn hit_zero(@block_ctxt cx, ValueRef v,
@typeck.ty t) -> result {
auto res = iter_sequence(cx, v, t, bind drop_ty(_,_,_));
// FIXME: switch gc/non-gc on stratum of the type.
// FIXME: switch gc/non-gc on layer of the type.
ret trans_non_gc_free(res.bcx, v);
}
ret decr_refcnt_and_if_zero(cx, v,
@ -747,7 +747,7 @@ fn drop_ty(@block_ctxt cx,
C_int(abi.box_rc_field_body)));
auto res = drop_ty(cx, body, body_ty);
// FIXME: switch gc/non-gc on stratum of the type.
// FIXME: switch gc/non-gc on layer of the type.
ret trans_non_gc_free(res.bcx, v);
}
ret decr_refcnt_and_if_zero(cx, v,