Last change
on this file since 6689 was
5626,
checked in by bensch, 19 years ago
|
trunk: optimizations, and operator== in BaseObject to compare ObjectNames
|
File size:
295 bytes
|
Rev | Line | |
---|
[3860] | 1 | |
---|
| 2 | #ifndef _COMPILER_H |
---|
| 3 | #define _COMPILER_H |
---|
| 4 | |
---|
| 5 | /* performance tweaking stuff */ |
---|
| 6 | #if __GNUC__ == 2 && __GNUC_MINOR__ < 96 |
---|
| 7 | #define __builtin_expect(x, expected_value) (x) |
---|
| 8 | #endif |
---|
| 9 | |
---|
[5626] | 10 | #define likely(x) __builtin_expect((x),1) |
---|
| 11 | #define unlikely(x) __builtin_expect((x),0) |
---|
[3860] | 12 | |
---|
| 13 | |
---|
| 14 | #endif /* _COMPILER_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.