aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/buffer.c
diff options
context:
space:
mode:
authorGareth Rees2012-10-23 15:42:17 +0100
committerGareth Rees2012-10-23 15:42:17 +0100
commit9d22cb3c49a860ac0261b31b9bbfc5d8e260ebde (patch)
treed607e42319bbc720c9f1eee76448957d73ea0da2 /mps/code/buffer.c
parent07d0aaf1135294adad13d66c2636c7bc9392a7b6 (diff)
downloademacs-9d22cb3c49a860ac0261b31b9bbfc5d8e260ebde.tar.gz
emacs-9d22cb3c49a860ac0261b31b9bbfc5d8e260ebde.zip
Remove comment following discussion with rb: "assumes pun compatibility between rank and mps_rank_t which is checked by mpsi_check in <code/mpsi.c>" as this is no longer true: ranks no longer appear in the public interface, so their pun compatibility is no longer checked.
Copied from Perforce Change: 180031 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/buffer.c')
-rw-r--r--mps/code/buffer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mps/code/buffer.c b/mps/code/buffer.c
index 2128ffda0cf..f911a28c6b9 100644
--- a/mps/code/buffer.c
+++ b/mps/code/buffer.c
@@ -1494,8 +1494,6 @@ DEFINE_CLASS(SegBufClass, class)
1494 1494
1495static Res rankBufInit (Buffer buffer, Pool pool, va_list args) 1495static Res rankBufInit (Buffer buffer, Pool pool, va_list args)
1496{ 1496{
1497 /* Assumes pun compatibility between Rank and mps_rank_t */
1498 /* Which is checked by mpsi_check in <code/mpsi.c> */
1499 Rank rank = va_arg(args, Rank); 1497 Rank rank = va_arg(args, Rank);
1500 BufferClass super; 1498 BufferClass super;
1501 Res res; 1499 Res res;