Skip to content

Commit eff7fae

Browse files
committed
comparing/walking two pointers still aligns same as 1 ptr
1 parent b30f7af commit eff7fae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rt/rust_shape.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ class cmp : public data<cmp,ptr_pair> {
289289
}
290290

291291
inline void cmp_two_pointers() {
292-
ALIGN_TO(alignof<void *>() * 2);
292+
ALIGN_TO(alignof<void *>());
293293
data_pair<uint8_t *> fst = bump_dp<uint8_t *>(dp);
294294
data_pair<uint8_t *> snd = bump_dp<uint8_t *>(dp);
295295
cmp_number(fst);

0 commit comments

Comments
 (0)