Add V8_ALIGNAS() and V8_ALIGNOF() and use that in lazy-instance.h.
authorbmeurer@chromium.org <bmeurer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 26 Aug 2013 11:18:28 +0000 (11:18 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 26 Aug 2013 11:18:28 +0000 (11:18 +0000)
commit10a4570282c1182624b4a3f75f4621cce560621e
treed05417c60f10b1fa553787be0d03c3e9c59af55c
parent1873546031f02596e39a3514a2965a8bfca04343
Add V8_ALIGNAS() and V8_ALIGNOF() and use that in lazy-instance.h.

This renames the existing V8_ALIGNAS() to V8_ALIGNED(), and introduces
V8_ALIGNAS(type, alignment) which aligns according to the type and falls
back to aligning according to alignment.

Also use __attribute__((aligned(n))) instead of __attribute__((__aligned__(n))).

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/22999052

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16318 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8config.h
src/circular-queue.h
src/lazy-instance.h