summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/refaccess.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/refaccess.h')
-rw-r--r--Build/source/utils/asymptote/refaccess.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/refaccess.h b/Build/source/utils/asymptote/refaccess.h
index c848f8f171d..3357438115a 100644
--- a/Build/source/utils/asymptote/refaccess.h
+++ b/Build/source/utils/asymptote/refaccess.h
@@ -58,6 +58,10 @@ void pointerWrite(vm::stack *s) {
template <class T>
void refAccess<T>::encode(action act, position, coder &e)
{
+ // You may be able to use typeid(T).name() to get a better label.
+ REGISTER_BLTIN((bltin) pointerRead<T>, "pointerRead");
+ REGISTER_BLTIN((bltin) pointerWrite<T>, "pointerWrite");
+
e.encode(vm::inst::constpush, (vm::item)ref);
switch (act) {