summaryrefslogtreecommitdiff
path: root/vm_evalbody.ci
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-23 06:48:28 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-23 06:48:28 +0000
commitaa071a3b26a2b7946ffee6e608f8f204562a79f4 (patch)
treeb72e0a09ec579ef27719d21fa5a23eff85d178d4 /vm_evalbody.ci
parentfcab7ebb713da9c0bfdffeb016186db781b8bbba (diff)
* compile.c (make_masgn_lhs, iseq_compile_each): fixed indent.
* compile.c (iseq_translate_threaded_code), vm_evalbody.ci (get_insns_address_table), template/vmtc.inc.tmpl (insns_address_table): constified. * vm_evalbody.ci (vm_eval), template/insns_info.inc.tmpl (insn_stack_increase, insn_ret_num): suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_evalbody.ci')
-rw-r--r--vm_evalbody.ci6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm_evalbody.ci b/vm_evalbody.ci
index 6e1b15d..dccf978 100644
--- a/vm_evalbody.ci
+++ b/vm_evalbody.ci
@@ -102,7 +102,7 @@ vm_eval(rb_thread_t *th, VALUE initial)
/* unreachable */
rb_bug("vm_eval: unreachable");
- return Qundef;
+ goto first;
}
#else
@@ -110,10 +110,10 @@ vm_eval(rb_thread_t *th, VALUE initial)
#include "vm.inc"
#include "vmtc.inc"
-void **
+const void *const *
get_insns_address_table()
{
- return (void **)insns_address_table;
+ return insns_address_table;
}
VALUE