summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm.c2
-rw-r--r--vm_core.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/vm.c b/vm.c
index 66eee02bd8..8e7e51513e 100644
--- a/vm.c
+++ b/vm.c
@@ -1788,7 +1788,7 @@ hook_before_rewind(rb_thread_t *th, rb_control_frame_t *cfp, int will_finish_vm_
rb_iseq_t *iseq; // ?
VALUE self; //
VALUE *ep; // ep
- void *code; //
+ void *code; //
};
*/
diff --git a/vm_core.h b/vm_core.h
index 25a467dff6..0436adf6ac 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -1301,7 +1301,7 @@ static inline const VALUE *
vm_block_ep(const struct rb_block *block)
{
switch (vm_block_type(block)) {
- case block_type_iseq:
+ case block_type_iseq:
case block_type_ifunc: return block->as.captured.ep;
case block_type_proc: return vm_proc_ep(block->as.proc);
case block_type_symbol: return NULL;