diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2011-11-17 15:41:45 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2011-11-17 15:41:45 -0800 |
| commit | eff7fae7b94b75ee075384b98955f45f56420a5f (patch) | |
| tree | dc57dde9b9ec79b989363fad8877bb82f30f2e3e /src/rt/rust_shape.cpp | |
| parent | b30f7af98b000b0dfb07f5d85e6e40f1ba534228 (diff) | |
| download | rust-eff7fae7b94b75ee075384b98955f45f56420a5f.tar.gz rust-eff7fae7b94b75ee075384b98955f45f56420a5f.zip | |
comparing/walking two pointers still aligns same as 1 ptr
Diffstat (limited to 'src/rt/rust_shape.cpp')
| -rw-r--r-- | src/rt/rust_shape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_shape.cpp b/src/rt/rust_shape.cpp index 6f1082d4aa8..326e4e2a514 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<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); |
