aboutsummaryrefslogtreecommitdiff
path: root/src/comp
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-12-03 12:15:32 -0800
committerGraydon Hoare <[email protected]>2010-12-03 12:15:32 -0800
commita98b2ebb4ad090d3d7eaa9ab3b1d98be0867e990 (patch)
tree2d9036d432ea83e08f03720854ad10d2477e513c /src/comp
parentrustc: Translate nullary tag constructors (diff)
downloadrust-a98b2ebb4ad090d3d7eaa9ab3b1d98be0867e990.tar.xz
rust-a98b2ebb4ad090d3d7eaa9ab3b1d98be0867e990.zip
Change 'stratum' to the friendlier term 'layer'.
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/front/token.rs4
-rw-r--r--src/comp/middle/trans.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/comp/front/token.rs b/src/comp/front/token.rs
index 84869aac..8c594054 100644
--- a/src/comp/front/token.rs
+++ b/src/comp/front/token.rs
@@ -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"; }
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs
index 27dfa443..ddf71b4c 100644
--- a/src/comp/middle/trans.rs
+++ b/src/comp/middle/trans.rs
@@ -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,