summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authortmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-20 21:07:00 (GMT)
committertmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-20 21:07:00 (GMT)
commit6944b38f7fa9de655ff3d4de28ea449825c874c0 (patch)
tree7d69809f42a7e26d72a05cc379185251eadcc86a /vm_method.c
parent0abe1fee1308037e7f765900defd379acc1a1674 (diff)
fix typo: s/POWOR/POWER/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_method.c b/vm_method.c
index 781f95f..2a74637 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