'A bug on OS X Lion disallows __builtin_expect macros. This code avoids them'

def undef_builtin_expect_apple_gcc_bug(self, code):

    if (not self.parent):
        code.undef_builtin_expect(self.redef_condition)
