fixed some include bugs
authorstephey <stephey>
Thu, 12 Aug 2010 23:34:02 +0000 (23:34 +0000)
committerstephey <stephey>
Thu, 12 Aug 2010 23:34:02 +0000 (23:34 +0000)
Robust/src/Runtime/oooJava/hashRCR.c

index fe9a0f2b1d59fe0e16acf4b46bc420187b6ef64a..7734e65ce7a9c7899a5c0c161ef529689506a850 100644 (file)
@@ -1,6 +1,7 @@
-#include "HashRCR.h"
-#include "strings.h"
-#include "tm.h"
+#include "hashRCR.h"
+#include <strings.h>
+#define likely(x) __builtin_expect((x),1)
+#define unlikely(x) __builtin_expect((x),0)
 
 //Smallest Object Size with 1 ptr is 32bytes on on 64-bit machine and 24bytes on 32-bit machine
 #ifdef BIT64