summaryrefslogtreecommitdiff
path: root/bson
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-07-11 10:10:50 -0400
committerEliot Horowitz <eliot@10gen.com>2011-07-11 10:10:50 -0400
commit9547bb58301339b420de71fddb73487a76643327 (patch)
tree92c0062b22887a3f5b5da6cc5f00b70c727f73e5 /bson
parent984dc80a022f3e8f6a6187dbd75cd910fcb2b83e (diff)
downloadmongo-9547bb58301339b420de71fddb73487a76643327.tar.gz
line endings
Diffstat (limited to 'bson')
-rw-r--r--bson/inline_decls.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/bson/inline_decls.h b/bson/inline_decls.h
index cc28aee7b98..a3a0dd817fb 100644
--- a/bson/inline_decls.h
+++ b/bson/inline_decls.h
@@ -32,27 +32,27 @@
#endif
-/* Note: do not clutter code with these -- ONLY use in hot spots / significant loops. */
-
-//#if 1
-
-//#if !defined(__GNUC__)
-
-// branch prediction. indicate we expect to enter the if statement body
-#define MONGOIF(x) if( (x) )
-
-// branch prediction. indicate we expect to not enter the if statement body
-#define MONGO_IF(x) if( (x) )
-
-// prefetch data from memory
-#define MONGOPREFETCH(x) { /*just check we compile:*/ sizeof(*x); }
-
-#if 0
-
-#define IF(x) if( __builtin_expect((x), 1) )
-
-#define _IF(x) if( __builtin_expect((x), 0) )
-
-#define PREFETCH(x) { /*just check we compile:*/ sizeof(*x); }
-
-#endif
+/* Note: do not clutter code with these -- ONLY use in hot spots / significant loops. */
+
+//#if 1
+
+//#if !defined(__GNUC__)
+
+// branch prediction. indicate we expect to enter the if statement body
+#define MONGOIF(x) if( (x) )
+
+// branch prediction. indicate we expect to not enter the if statement body
+#define MONGO_IF(x) if( (x) )
+
+// prefetch data from memory
+#define MONGOPREFETCH(x) { /*just check we compile:*/ sizeof(*x); }
+
+#if 0
+
+#define IF(x) if( __builtin_expect((x), 1) )
+
+#define _IF(x) if( __builtin_expect((x), 0) )
+
+#define PREFETCH(x) { /*just check we compile:*/ sizeof(*x); }
+
+#endif