aboutsummaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm.c b/vm.c
index a75d94f8cc..03bf61ff60 100644
--- a/vm.c
+++ b/vm.c
@@ -1205,14 +1205,14 @@ static VALUE
vm_cfp_svar_get(rb_thread_t *th, rb_control_frame_t *cfp, VALUE key)
{
cfp = vm_normal_frame(th, cfp);
- return lep_svar_get(th, cfp ? VM_CF_LEP(cfp) : 0, key);
+ return lep_svar_get(th->ec, cfp ? VM_CF_LEP(cfp) : 0, key);
}
static void
vm_cfp_svar_set(rb_thread_t *th, rb_control_frame_t *cfp, VALUE key, const VALUE val)
{
cfp = vm_normal_frame(th, cfp);
- lep_svar_set(th, cfp ? VM_CF_LEP(cfp) : 0, key, val);
+ lep_svar_set(th->ec, cfp ? VM_CF_LEP(cfp) : 0, key, val);
}
static VALUE