Move LIKELY and UNLIKELY to a public header file.
Change-Id: I6c4429277f50ff34021bd2ef836834605323b9bd
diff --git a/vm/Common.h b/vm/Common.h
index 2f151b8..ae0938a 100644
--- a/vm/Common.h
+++ b/vm/Common.h
@@ -37,6 +37,9 @@
#define MIN(x,y) (((x) < (y)) ? (x) : (y))
#define MAX(x,y) (((x) > (y)) ? (x) : (y))
+#define LIKELY(exp) (__builtin_expect((exp) != 0, true))
+#define UNLIKELY(exp) (__builtin_expect((exp) != 0, false))
+
/*
* If "very verbose" logging is enabled, make it equivalent to LOGV.
* Otherwise, make it disappear.