summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_core.h b/vm_core.h
index d032307..daf801f 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -201,7 +201,7 @@ typedef struct rb_call_info_struct {
unsigned int flag;
int orig_argc;
- rb_iseq_t *blockiseq;
+ const rb_iseq_t *blockiseq;
rb_call_info_kw_arg_t *kw_arg;
/* inline cache: keys */
@@ -565,7 +565,7 @@ typedef struct rb_control_frame_struct {
typedef struct rb_block_struct {
VALUE self; /* share with method frame if it's only block */
VALUE *ep; /* share with method frame if it's only block */
- rb_iseq_t *iseq;
+ const rb_iseq_t *iseq;
VALUE proc;
} rb_block_t;