aboutsummaryrefslogtreecommitdiffstats
path: root/vm_method.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-21 09:01:44 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-21 09:01:44 +0000
commitf3c2cb4670dc6d3f9b18333b474b999c0091eb4f (patch)
tree11de9f286ee0cdfda76737fc36635f2297411494 /vm_method.c
parent93639b65bdea42bf8e7360a81376ce319e7e38b5 (diff)
downloadruby-f3c2cb4670dc6d3f9b18333b474b999c0091eb4f.tar.gz
* iseq.c: constify.
* iseq.h: ditto. * method.h: ditto. * proc.c: ditto. * vm_method.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c
index 853e66799e..1acd7226a2 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -319,7 +319,7 @@ rb_method_entry_make(VALUE klass, ID mid, rb_method_type_t type,
old_def->alias_count == 0 &&
old_def->type != VM_METHOD_TYPE_UNDEF &&
old_def->type != VM_METHOD_TYPE_ZSUPER) {
- rb_iseq_t *iseq = 0;
+ const rb_iseq_t *iseq = 0;
rb_warning("method redefined; discarding old %"PRIsVALUE, rb_id2str(mid));
switch (old_def->type) {