diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-31 13:11:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-31 13:11:02 +0000 |
commit | f6003894b91987f309cfd0164561db86d5eaa82c (patch) | |
tree | a607e11c70085ad8b6301a0f3a1084db9c42e8d6 /insns.def | |
parent | fa98c5752d1f6624a7cdf272606a06fb109ea4a9 (diff) |
* compile.c (new_child_iseq): adjust argument types.
* iseq.c (prepare_iseq_build, rb_iseq_new),
(rb_iseq_new_with_bopt_and_opt, rb_iseq_new_with_opt),
(rb_iseq_new_with_bopt): ditto.
* compile.c (iseq_set_exception_table): suppress warnings.
* insns.def (putspecialobject, defined): ditto.
* iseq.c (iseq_load): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -336,7 +336,7 @@ putspecialobject () (VALUE val) { - enum vm_special_object_type type = value_type; + enum vm_special_object_type type = (enum vm_special_object_type)value_type; switch (type) { case VM_SPECIAL_OBJECT_VMCORE: @@ -754,7 +754,7 @@ defined { VALUE klass; const char *expr_type = 0; - enum defined_type type = op_type; + enum defined_type type = (enum defined_type)op_type; val = Qnil; |