diff options
author | Denis Bitouzé <dbitouze@wanadoo.fr> | 2021-02-25 18:23:07 +0000 |
---|---|---|
committer | Denis Bitouzé <dbitouze@wanadoo.fr> | 2021-02-25 18:23:07 +0000 |
commit | c6101f91d071883b48b1b4b51e5eba0f36d9a78d (patch) | |
tree | 1bf7f5a881d7a4f5c5bf59d0b2821943dd822372 /Build/source/utils/asymptote/refaccess.cc | |
parent | 07ee7222e389b0777456b427a55c22d0e6ffd267 (diff) |
French translation for tlmgr updated
git-svn-id: svn://tug.org/texlive/trunk@57912 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/refaccess.cc')
-rw-r--r-- | Build/source/utils/asymptote/refaccess.cc | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/Build/source/utils/asymptote/refaccess.cc b/Build/source/utils/asymptote/refaccess.cc deleted file mode 100644 index 1e875c074d0..00000000000 --- a/Build/source/utils/asymptote/refaccess.cc +++ /dev/null @@ -1,57 +0,0 @@ -/***** - * refaccess.cc - * Andy Hammerlindl 2005/11/28 - * - * An access which refers to a variable or other object in C++. - *****/ - -#include "refaccess.h" - -namespace trans { - -using vm::item; -using vm::stack; -using vm::pop; - -/* itemRefAccess */ -void itemPointerRead(stack *s) { - item *p=pop<item *>(s); - s->push(*p); -} - -void itemPointerWrite(stack *s) { - item *p=pop<item *>(s); - item value=pop(s); - *p=value; - s->push(value); -} - -void itemRefAccess::encode(action act, position, coder &e) -{ - REGISTER_BLTIN(itemPointerRead, "itemPointerRead"); - REGISTER_BLTIN(itemPointerWrite, "itemPointerWrite"); - - e.encode(inst::constpush, (item)ref); - - switch (act) { - case READ: - e.encode(inst::builtin, itemPointerRead); - break; - case WRITE: - e.encode(inst::builtin, itemPointerWrite); - break; - case CALL: - e.encode(inst::builtin, itemPointerRead); - e.encode(inst::popcall); - break; - }; -} - -void itemRefAccess::encode(action act, position pos, coder &e, frame *) -{ - // Get rid of the useless top frame. - e.encode(inst::pop); - encode(act, pos, e); -} - -} |