mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
vm.c (ci_env_set): inline ci_env_set()
Along with making preparing mrb_vm_ci_env_clar() as a replacement of mrb_vm_ci_env_set(mrb, NULL).
This commit is contained in:
+1
-1
@@ -224,7 +224,7 @@ module MRuby
|
||||
f.puts %Q[ exit(EXIT_FAILURE);]
|
||||
f.puts %Q[ }]
|
||||
f.puts %Q[ struct REnv *e = mrb_vm_ci_env(mrb->c->cibase);]
|
||||
f.puts %Q[ mrb_vm_ci_env_set(mrb->c->cibase, NULL);]
|
||||
f.puts %Q[ mrb_vm_ci_env_clear(mrb->c->cibase);]
|
||||
f.puts %Q[ mrb_env_unshare(mrb, e, FALSE);]
|
||||
end
|
||||
f.puts %Q[ mrb_gc_arena_restore(mrb, ai);]
|
||||
|
||||
Reference in New Issue
Block a user