*: add optimization barrier to all "G trick" locations

This commit is contained in:
Denis Vlasenko
2008-02-27 18:41:59 +00:00
parent fe66a0eca1
commit 574f2f4394
32 changed files with 97 additions and 64 deletions

View File

@@ -122,7 +122,7 @@ struct globals {
};
#define G (*ptr_to_globals)
#define INIT_G() do { \
PTR_TO_GLOBALS = xzalloc(sizeof(G)); \
SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
} while (0)
static ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n)