summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2011-03-09 17:43:10 +0900
committerAkira TAGOH <akira@tagoh.org>2011-03-09 17:43:10 +0900
commitb277c3c5d371521d51ef2ff185f820985e7c680b (patch)
treef89a52b5bdb4c06d929d0039289121e944253e20
parent438438bff5b3d87ff303791b71135002397684e1 (diff)
cleanup
-rw-r--r--hieroglyph/hgstack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hieroglyph/hgstack.c b/hieroglyph/hgstack.c
index 02351a2..0aa437c 100644
--- a/hieroglyph/hgstack.c
+++ b/hieroglyph/hgstack.c
@@ -226,7 +226,7 @@ _hg_stack_push(hg_stack_t *stack,
if (stack->vm &&
!hg_quark_is_simple_object(quark) &&
hg_quark_get_type(quark) != HG_TYPE_OPER) {
- m = hg_vm_get_mem_from_quark(stack->vm, quark);
+ m = hg_vm_quark_get_mem(stack->vm, quark);
hg_mem_unref(m, quark);
}
@@ -458,7 +458,7 @@ hg_stack_pop(hg_stack_t *stack)
if (stack->vm &&
!hg_quark_is_simple_object(retval) &&
hg_quark_get_type(retval) != HG_TYPE_OPER) {
- m = hg_vm_get_mem_from_quark(stack->vm, retval);
+ m = hg_vm_quark_get_mem(stack->vm, retval);
hg_mem_ref(m, retval);
}