summaryrefslogtreecommitdiffhomepage
path: root/src/vm.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2018-08-02 21:14:52 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2018-08-25 09:17:46 +0900
commit5e469d2b924a70617be75b0c765da73497d3927c (patch)
tree1643c0bd62a6a1d53a9ca663778fb4781ce9e2c0 /src/vm.c
parentc88fd32713e980abe5613ae06f46d9ceaa0c063b (diff)
downloadmruby-5e469d2b924a70617be75b0c765da73497d3927c.tar.gz
mruby-5e469d2b924a70617be75b0c765da73497d3927c.zip
Remove utility functions: `mrb_vm_iv_{get,set}`.
Diffstat (limited to 'src/vm.c')
-rw-r--r--src/vm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vm.c b/src/vm.c
index 91c617a83..b8feb52db 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -1131,8 +1131,7 @@ RETRY_TRY_BLOCK:
}
CASE(OP_GETIV, BB) {
- mrb_value val = mrb_vm_iv_get(mrb, syms[b]);
- regs[a] = val;
+ regs[a] = mrb_vm_iv_get(mrb, syms[b]);
NEXT;
}