From eff7fae7b94b75ee075384b98955f45f56420a5f Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Thu, 17 Nov 2011 15:41:45 -0800 Subject: [PATCH] comparing/walking two pointers still aligns same as 1 ptr --- src/rt/rust_shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rt/rust_shape.cpp b/src/rt/rust_shape.cpp index 6f1082d4aa8e..326e4e2a5140 100644 --- a/src/rt/rust_shape.cpp +++ b/src/rt/rust_shape.cpp @@ -289,7 +289,7 @@ private: } inline void cmp_two_pointers() { - ALIGN_TO(alignof() * 2); + ALIGN_TO(alignof()); data_pair fst = bump_dp(dp); data_pair snd = bump_dp(dp); cmp_number(fst);