summaryrefslogtreecommitdiff
path: root/vm_evalbody.ci
diff options
context:
space:
mode:
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