comparing/walking two pointers still aligns same as 1 ptr

This commit is contained in:
Niko Matsakis 2011-11-17 15:41:45 -08:00
parent b30f7af98b
commit eff7fae7b9

View file

@ -289,7 +289,7 @@ private:
}
inline void cmp_two_pointers() {
ALIGN_TO(alignof<void *>() * 2);
ALIGN_TO(alignof<void *>());
data_pair<uint8_t *> fst = bump_dp<uint8_t *>(dp);
data_pair<uint8_t *> snd = bump_dp<uint8_t *>(dp);
cmp_number(fst);