aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vm_method.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_method.c b/vm_method.c
index 781f95fdcd..2a7463785e 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -6,8 +6,8 @@
#define GLOBAL_METHOD_CACHE_SIZE 0x800
#endif
#define LSB_ONLY(x) ((x) & ~((x) - 1))
-#define POWOR_OF_2_P(x) ((x) == LSB_ONLY(x))
-#if !POWOR_OF_2_P(GLOBAL_METHOD_CACHE_SIZE)
+#define POWER_OF_2_P(x) ((x) == LSB_ONLY(x))
+#if !POWER_OF_2_P(GLOBAL_METHOD_CACHE_SIZE)
# error GLOBAL_METHOD_CACHE_SIZE must be power of 2
#endif
#ifndef GLOBAL_METHOD_CACHE_MASK