mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* 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
This commit is contained in:
parent
85647d9f2b
commit
c7edd997e8
5 changed files with 20 additions and 10 deletions
2
vm.c
2
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]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue