summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-10 23:42:01 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-10 23:42:01 (GMT)
commitc7edd997e87d609feee894bf61b45f7f0a956eba (patch)
tree8c91f908870749c1bf6c53786745126142a58e06 /vm.c
parent85647d9f2b4b2da17827cc1d613f425748a39b3f (diff)
* vm.c: use VM_ASSERT instead of assert().
* vm_args.c: ditto. * vm_insnhelper.c: ditto. * vm_method.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 80e3f05..fc135b0 100644
--- a/vm.c
+++ b/vm.c
@@ -2385,7 +2385,7 @@ core_hash_merge(VALUE hash, long argc, const VALUE *argv)
{
long i;
- assert(argc % 2 == 0);
+ VM_ASSERT(argc % 2 == 0);
for (i=0; i<argc; i+=2) {
rb_hash_aset(hash, argv[i], argv[i+1]);
}